chore: update nrwl monorepo to v20 (major) #948
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: package.json | |
cache: 'pnpm' | |
cache-dependency-path: 'pnpm-lock.yaml' | |
# this fails unpredictable with 'Request failed with status code 429. Your organization has exceeded your plan's concurrent connection limit of 10.' | |
# this seems to corelate with the number of agents, need to read docs. | |
# - run: pnpx nx-cloud start-ci-run --distribute-on='4 linux-medium-js' --stop-agents-after='e2e-vite-version-matrix' | |
- uses: nrwl/nx-set-shas@v4 | |
- run: pnpm i | |
- run: pnpm nx report | |
- run: pnpm nx run tools-commitlint:exec:message --value "${{ github.event.pull_request.title }}" | |
env: | |
NX_CLOUD_DISTRIBUTED_EXECUTION: false | |
- run: | | |
pnpm nx format:check | |
pnpm nx affected -t lint-eslint test test-vite build e2e-vite-version-matrix --configuration ci | |
env: | |
NX_VERBOSE_LOGGING: ${{ runner.debug && true || false }} |