Skip to content

GitHub main repo

GitHub main repo #2

Workflow file for this run

name: Run tests
on:
push:
branches:
- master
pull_request:
jobs:
master:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- run: yarn install --immutable
- uses: nrwl/nx-set-shas@v4
- if: github.ref != 'refs/heads/master'
run: git branch --track master origin/master
- run: yarn lint
- run: yarn nx affected -t test,lint --parallel=3
# Check if working dir is clean after build
- run: git diff --exit-code