Skip to content

Update actions/setup-node action to v4.0.4 #1313

Update actions/setup-node action to v4.0.4

Update actions/setup-node action to v4.0.4 #1313

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:
- 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