Skip to content

Commit e1faf48

Browse files
author
jarvisjiang
committed
ci: add deno install step before running tests
Add `deno install` command to install Deno dependencies before running tests in all workflows. This ensures all required dependencies are available when running the test suite. Affected workflows: - test.yml - npm-publish.yml - npm-publish-github-packages.yml - jsr-publish.yml
1 parent e97fd5d commit e1faf48

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/jsr-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121

2222
- name: Run test cases
2323
uses: denoland/setup-deno@v2
24+
- run: deno install
2425
- run: pnpm test
2526

2627
publish-jsr:

.github/workflows/npm-publish-github-packages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222

2323
- name: Run test cases
2424
uses: denoland/setup-deno@v2
25+
- run: deno install
2526
- run: pnpm test
2627

2728
publish-gpr:

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121

2222
- name: Run test cases
2323
uses: denoland/setup-deno@v2
24+
- run: deno install
2425
- run: pnpm test
2526

2627
publish-npm:

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323

2424
- name: Run test cases
2525
uses: denoland/setup-deno@v2
26+
- run: deno install
2627
- run: pnpm test
2728

2829
- name: Upload coverage reports to Codecov

0 commit comments

Comments
 (0)