Update All dependencies #807
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: Run CI | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: | |
- 18 | |
- 20 | |
- 22 | |
name: Node ${{ matrix.node-version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
check-latest: true | |
node-version: ${{ matrix.node-version }} | |
- name: Enable corepack | |
run: corepack enable | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Check code style | |
run: | | |
yarn run fmt | |
git --no-pager diff --exit-code | |
- name: CI tests | |
run: yarn run test | |
- name: Type checking | |
run: yarn build |