mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 03:48:39 +00:00
fix: ci
This commit is contained in:
3
.github/workflows/check.yml
vendored
3
.github/workflows/check.yml
vendored
@@ -12,6 +12,7 @@ concurrency:
|
||||
|
||||
env:
|
||||
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }}
|
||||
CYPRESS_RECORD_KEY: ${{ secrets.NX_CYPRESS_KEY }}
|
||||
|
||||
jobs:
|
||||
main:
|
||||
@@ -23,7 +24,7 @@ jobs:
|
||||
number-of-agents: 2
|
||||
parallel-commands: |
|
||||
pnpm exec nx-cloud record -- pnpm exec nx format:check
|
||||
pnpm e2e:ci ${{ github.ref == 'refs/heads/develop' && '--record --key ' + secrets.NX_CYPRESS_KEY || '' }}
|
||||
pnpm e2e:ci ${{ github.ref == 'refs/heads/develop' && '--record' || '' }}
|
||||
parallel-commands-on-agents: |
|
||||
pnpm exec nx affected --target=lint --parallel=2 --exclude=components-common,keck,theme
|
||||
pnpm exec nx affected --target=build --parallel=2
|
||||
|
||||
Reference in New Issue
Block a user