update npm packages #7
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: ["**"] | |
jobs: | |
test-commit: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [18.20.4, 20.15.1, 22.4.1] | |
name: Test repo on Node.js ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v4 | |
name: "Checkout repo" | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
registry-url: https://registry.npmjs.org/ | |
name: "Install Node.js" | |
- run: npm ci | |
name: "Install dependencies" | |
- run: npm test | |
name: "Run tests" |