Skip to content

Commit

Permalink
fix: smoke tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolk committed Dec 31, 2024
1 parent 9571383 commit a9b76d7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ jobs:
with:
python-version: '3.11'

- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # version 4.0.2
if: runner.os == 'Windows'
with:
# Pin node to version before 18.20.2 due to https://github.com/nodejs/node/issues/52554
# Amplify App tries to spawn npm.cmd here https://github.com/aws-amplify/amplify-cli/blob/9571383521e6536ecf6568876609654393b27abb/packages/amplify-app/src/index.js#L88-L93
node-version: 18.20.0

- name: Install Amplify CLI
uses: ./.github/actions/install-cli
with:
Expand Down

0 comments on commit a9b76d7

Please sign in to comment.