fix(deps): update typescript-eslint monorepo to v6 (major) #2733
Workflow file for this run
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: Test and Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
install: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Install | |
run: yarn install --immutable | |
- name: Check for unmet constraints (fix w/ "yarn constraints --fix") | |
run: yarn constraints | |
- name: Type check | |
run: yarn typecheck | |
- name: Lint | |
run: yarn lint | |
- name: Build | |
run: yarn build | |
- name: Test | |
if: startsWith(matrix.node-version, '18') | |
run: yarn test:ci | |
env: | |
CI: true | |
- name: Test (with coverage) | |
if: startsWith(matrix.node-version, '20') | |
run: yarn test:ci:coverage | |
env: | |
CI: true | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |