Skip to content

chore(deps-dev): bump eslint from 8.57.0 to 9.2.0 in the eslint group across 1 directory #966

chore(deps-dev): bump eslint from 8.57.0 to 9.2.0 in the eslint group across 1 directory

chore(deps-dev): bump eslint from 8.57.0 to 9.2.0 in the eslint group across 1 directory #966

Workflow file for this run

name: Node CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build-lint-test:
env:
CI: true
HUSKY: 0
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
os: [ubuntu-latest]
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: use nodejs ${{ matrix.node-version }} on {{ matrix.os }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: start tile38
run: docker compose up -d
- name: yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: install
run: yarn
- name: lint
run: yarn lint
- name: test
run: yarn test
- name: build
run: yarn build
- name: stop tile38
run: docker compose down
release:
needs: build-lint-test
name: release
runs-on: ubuntu-latest
env:
CI: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
HUSKY: 0
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: install dependencies
run: yarn
- name: release
run: npx semantic-release