Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ jobs:

- run: pnpm install

# Download the time-skipping test server once, before the test loop. The
# binary is fetched lazily on first use and cached in the system temp dir;
# doing it here keeps the cold download off the critical path of any test's
# default 5s hook timeout (which flakes on slower runners).
- name: Pre-download time-skipping test server
run: pnpm prewarm-test-server

- name: Build and test sample projects
shell: bash
run: |
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"scripts": {
"build": "pnpm run -r --filter './*' build",
"test": "pnpm run -r --filter './*' test",
"prewarm-test-server": "node -e \"require('@temporalio/testing').TestWorkflowEnvironment.createTimeSkipping().then(e => e.teardown())\"",
"format": "pnpm format:self ; pnpm run -r --filter './*' format",
"format:self": "prettier --write .",
"format:check": "pnpm format:check:self ; pnpm run -r --filter './*' format:check",
Expand All @@ -15,6 +16,7 @@
"update-toc": "doctoc README.md"
},
"devDependencies": {
"@temporalio/testing": "^1.23.0",
"doctoc": "^2.1.0",
"glob": "^11.0.0",
"husky": "^7.0.2",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.