chore: Update dependencies. #72
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [20, 22] | |
name: Node ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "npm" | |
- name: Install Node dependencies | |
run: npm ci | |
- name: Run linter | |
run: npm run lint | |
- name: Run tests | |
run: npm run test |