Skip to content

Commit

Permalink
chore: try fix winpty path
Browse files Browse the repository at this point in the history
  • Loading branch information
talmobi committed Sep 26, 2024
1 parent df60a10 commit f646517
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/windows-node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Add npm to PATH on Windows for winpty
shell: pwsh
run: |
# Explicitly add npm to PATH
$nodePath = (Get-Command npm).Source
$nodeDir = Split-Path $nodePath
$env:PATH += ";$nodeDir"
- name: Workaround to create TTY
shell: pwsh
run: |
Expand Down

0 comments on commit f646517

Please sign in to comment.