This repository was archived by the owner on Sep 16, 2024. It is now read-only.
Auto NPM Update #301
This file contains hidden or 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': | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: 'Node.js v${{ matrix.node }}' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: | |
- 18 | |
- 20 | |
steps: | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '${{ matrix.node }}' | |
- uses: actions/checkout@v4 | |
- name: Upgrade npm | |
run: npm install -g npm@latest | |
- name: Install Dependencies | |
run: npm ci | |
- name: Run All Node.js Tests | |
run: npm test |