mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-24 18:02:47 +08: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:
|
env:
|
||||||
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }}
|
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }}
|
||||||
|
CYPRESS_RECORD_KEY: ${{ secrets.NX_CYPRESS_KEY }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
@@ -23,7 +24,7 @@ jobs:
|
|||||||
number-of-agents: 2
|
number-of-agents: 2
|
||||||
parallel-commands: |
|
parallel-commands: |
|
||||||
pnpm exec nx-cloud record -- pnpm exec nx format:check
|
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: |
|
parallel-commands-on-agents: |
|
||||||
pnpm exec nx affected --target=lint --parallel=2 --exclude=components-common,keck,theme
|
pnpm exec nx affected --target=lint --parallel=2 --exclude=components-common,keck,theme
|
||||||
pnpm exec nx affected --target=build --parallel=2
|
pnpm exec nx affected --target=build --parallel=2
|
||||||
|
|||||||
Reference in New Issue
Block a user