Bump @types/node from 20.12.2 to 20.12.5 #83
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: Tests | |
'on': | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
push: | |
branches: | |
- 'main' | |
jobs: | |
test: | |
name: 'Node.js v${{ matrix.node }}' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ 18, 20 ] | |
steps: | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '${{ matrix.node }}' | |
- uses: actions/checkout@v2 | |
- name: 'Cache node_modules' | |
uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-v${{ matrix.node }}-${{ hashFiles('**/package.json') }} | |
restore-keys: | | |
${{ runner.os }}-node-v${{ matrix.node }}- | |
- name: Install Dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Run All Node.js Tests | |
run: npm test |