Skip to content

Update actions/setup-node action to v4 #1048

Update actions/setup-node action to v4

Update actions/setup-node action to v4 #1048

Workflow file for this run

name: build
on:
push:
# Run tests for any PRs.
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.2
with:
node-version: ${{ matrix.node-version }}
- name: yarn install
run: yarn install
- name: yarn lint
run: yarn lint
- name: yarn build
run: yarn build
- name: yarn test
run: yarn test
env:
CI: true