chore: Bump @types/node from 20.14.13 to 22.0.0 #242
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: Unit Tests | |
on: [push, pull_request] | |
jobs: | |
prepare_matrix: | |
runs-on: ubuntu-latest | |
outputs: | |
versions: ${{ steps.generate-matrix.outputs.active }} | |
steps: | |
- name: Select all active LTS versions of Node.js | |
id: generate-matrix | |
uses: msimerson/node-lts-versions@v1 | |
test: | |
needs: | |
- prepare_matrix | |
strategy: | |
matrix: | |
node-version: ${{ fromJSON(needs.prepare_matrix.outputs.versions) }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install | |
- run: npm run lint | |
- run: npm run test |