Update actions/setup-node action to v4.0.4 #1313
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: build | |
on: | |
push: | |
branches: | |
- master | |
# Run tests for any PRs. | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: | |
- lts/* | |
- latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4.0.4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install | |
run: npm install | |
- name: npm run lint | |
run: npm run lint | |
- name: npm run build | |
run: npm run build | |
- name: npm run test | |
run: npm run test | |
env: | |
CI: true |