Update typescript-eslint monorepo to v6 #2736
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: | |
workflow_dispatch: | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
check-latest: true | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm ci | |
lint-typecheck-format: | |
runs-on: ubuntu-latest | |
needs: setup | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
check-latest: true | |
cache: 'npm' | |
- run: npm ci | |
- name: install website dependencies | |
working-directory: website | |
run: npm ci | |
- run: npm run lint | |
- run: npm run typecheck | |
- run: npm run prettier | |
test: | |
runs-on: ubuntu-latest | |
needs: setup | |
strategy: | |
matrix: | |
node: ['16', '18'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
check-latest: true | |
cache: 'npm' | |
- run: npm ci | |
- run: npm run test:ci |