Skip to content

Commit b54cda6

Browse files
committed
ci(ci): fix windows node.js path propagation in workflow
- Add debug output to print PATH and verify node availability - Set explicit bash shell for test step cross-platform consistency - Update node.js path setup to use GITHUB_PATH environment file
1 parent b082244 commit b54cda6

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
$nodePath = (Get-Command node).Source
4040
$nodeDir = Split-Path -Parent $nodePath
4141
echo "$nodeDir" | Out-File -FilePath $env:GITHUB_PATH -Append
42-
echo "Added to PATH: $nodeDir"
42+
echo "Added to GITHUB_PATH: $nodeDir"
4343
node --version
4444
4545
- name: Format check
@@ -53,4 +53,8 @@ jobs:
5353
run: deno check src/index.ts
5454

5555
- name: Test
56-
run: deno test --allow-read --allow-env --allow-run
56+
shell: bash
57+
run: |
58+
echo "PATH: $PATH"
59+
which node || echo "node not in PATH"
60+
deno test --allow-read --allow-env --allow-run

0 commit comments

Comments
 (0)