Skip to content

Update actions/setup-node action to v4 #622

Update actions/setup-node action to v4

Update actions/setup-node action to v4 #622

Workflow file for this run

name: Test and Lint
on:
pull_request:
push:
branches:
- main
jobs:
run-unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.15.0]
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- name: Install dependencies
run: yarn install-ci
- name: Run unit tests
run: yarn test --coverage