Skip to content

Update actions/setup-node action to v4 #1135

Update actions/setup-node action to v4

Update actions/setup-node action to v4 #1135

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.3
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