Skip to content

Update actions/setup-node action to v4 (solution) (#395) #628

Update actions/setup-node action to v4 (solution) (#395)

Update actions/setup-node action to v4 (solution) (#395) #628

name: Lint, Check Types, Jest
on: push
jobs:
build:
name: Lint, Check Types, Jest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- run: yarn --frozen-lockfile
- run: yarn eslint . --max-warnings 0
- run: yarn tsc
- run: yarn tsc --project cypress
# Run the Jest unit tests
- run: yarn jest