chore(deps): update all dependencies (#573) #1330
This file contains hidden or 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 | |
- pull_request | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
ci: | |
name: Lint and Test with Node.js ${{ matrix.node }} and ESLint ${{ matrix.eslint }} on ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
node: | |
- 18 | |
- 20 | |
- 22 | |
- 23 | |
eslint: | |
- 8 | |
- 9 | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Setup Node.js ${{ matrix.node }} | |
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Install ESLint ${{ matrix.eslint }} | |
if: ${{ matrix.eslint < 9 }} | |
run: | | |
yarn add -D eslint@${{ matrix.eslint }} @types/eslint@9 | |
yarn set resolution eslint-plugin-unicorn@npm:^58.0.0 npm:^56 | |
- name: Build, Lint and Test | |
run: | | |
yarn build | |
yarn lint | |
yarn test | |
env: | |
PARSER_NO_WATCH: true | |
- name: Codecov | |
uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |