Skip to content

use correct version of setup node action #9

use correct version of setup node action

use correct version of setup node action #9

Workflow file for this run

on: [push]
jobs:
lint:
runs-on: ubuntu-latest
name: Run eslint
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: yarn
- run: yarn lint
- run: yarn format --check
tsc:
runs-on: ubuntu-latest
name: Check typescript
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: yarn
- run: yarn tsc
test:
runs-on: ubuntu-latest
name: Run tests
needs: [lint, tsc]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: yarn
- run: yarn test