chore(deps): update dependency ajv-formats to v3 #974
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
on: | |
pull_request: | |
merge_group: | |
name: ci | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
node: [18, 20] | |
os: ['ubuntu-latest', 'windows-latest'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: corepack enable && corepack prepare | |
# Note: actions/setup-node doesn't yet provide parameters for corepack, we need to run it again after enabling it | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: pnpm | |
- run: node --version | |
- name: Install dependencies | |
run: pnpm install | |
- name: Lint code | |
run: pnpm lint | |
- name: Run tests | |
run: pnpm test |