Skip to content

build: use nx

build: use nx #4

Workflow file for this run

name: Node.js CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["latest"]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
- uses: nrwl/nx-set-shas@v4
- run: npm ci
- run: npx nx format:check
- run: npm run lint
- run: npx nx affected -t test --parallel=3
# - run: npx nx affected -t build --parallel=3