Skip to content

Commit

Permalink
chore: stop ci test from running vitest in watch mode (#6769)
Browse files Browse the repository at this point in the history
* chore: stop ci test from running vitest in watch mode

* chore: reduce test job timeout time to 30mins
  • Loading branch information
edmundhung authored Sep 19, 2024
1 parent baa29db commit 7e0d83d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-and-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
run: node -r esbuild-register tools/deployments/validate-changesets.ts

test:
timeout-minutes: 60
timeout-minutes: 30
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.filter }}-test
cancel-in-progress: true
Expand Down
2 changes: 1 addition & 1 deletion packages/workers-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"deploy:router-worker": "CLOUDFLARE_API_TOKEN=$WORKERS_DEPLOY_AND_CONFIG_CLOUDFLARE_API_TOKEN pnpx wrangler versions upload --experimental-versions -c router-worker/wrangler.toml",
"dev": "pnpm run clean && concurrently -n bundle:asset-worker,bundle:router-worker -c blue,magenta \"pnpm run bundle:asset-worker --watch\" \"pnpm run bundle:router-worker --watch\"",
"test": "vitest",
"test:ci": "pnpm run test",
"test:ci": "vitest run",
"types:emit": "tsc index.ts --declaration --emitDeclarationOnly --declarationDir ./dist"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/workers.new/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"deploy": "CLOUDFLARE_ACCOUNT_ID=$WORKERS_NEW_CLOUDFLARE_ACCOUNT_ID CLOUDFLARE_API_TOKEN=$WORKERS_NEW_CLOUDFLARE_API_TOKEN wrangler deploy",
"dev": "wrangler dev",
"test": "vitest -c tests/vitest.config.mts",
"test:ci": "vitest -c tests/vitest.config.mts"
"test:ci": "vitest run -c tests/vitest.config.mts"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "workspace:*",
Expand Down

0 comments on commit 7e0d83d

Please sign in to comment.