This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
Update checkout and setup-node GitHub CI actions to v3 #130
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: Node.js CI | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
node-version: [ 14.x, 16.x, 18.x, 20.x ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js ${{matrix.node-version}} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{matrix.node-version}} | |
- run: npm install | |
- run: npm run build | |
- run: npm test | |
env: | |
CI: true |