mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-18 16:12:02 +03:00
fix: ci
This commit is contained in:
parent
4f01af87a4
commit
de9e8e36d4
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
|
||||
|
Loading…
Reference in New Issue
Block a user