build(deps-dev): bump eslint from 8.57.1 to 9.22.0 #217
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Run Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Corepack with Yarn/Berry | |
run: corepack enable && yarn init -2 && yarn set version stable | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --mode=update-lockfile | |
- name: Run Lint | |
run: npx eslint . | |
- name: Run Tests | |
run: npx vitest & | |
build: | |
name: Run Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Corepack with Yarn/Berry | |
run: corepack enable && yarn init -2 && yarn set version stable | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --mode=update-lockfile | |
- name: Build Project | |
run: yarn exec tsc --allowUnreachableCode --noCheck --project ./tsconfig.json | |