Skip to content

feat(nx-cloud): set up nx workspace #2

feat(nx-cloud): set up nx workspace

feat(nx-cloud): set up nx workspace #2

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
permissions:
actions: read
contents: read
env:
NODE_OPTIONS: "--max-old-space-size=32768"
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: npx nx-cloud start-ci-run --distribute-on="3 linux-extra-large-plus-js" --stop-agents-after="typecheck" --with-env-vars="NODE_OPTIONS"
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- run: npm ci --legacy-peer-deps
- uses: nrwl/nx-set-shas@v4
- run: sleep 180 # ignore, just for the purpose of the benchmark
- run: npx nx run-many -t typecheck build