Skip to content

Update actions/setup-node action to v4 #1138

Update actions/setup-node action to v4

Update actions/setup-node action to v4 #1138

Workflow file for this run

name: build
on:
push:
branches:
- master
# Run tests for any PRs.
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 14
- 16
- 18
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.0
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