Skip to content

Commit 10adfbd

Browse files
authored
fix: smoke tests on windows (#14053)
1 parent 9571383 commit 10adfbd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/smoke-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ jobs:
4141
with:
4242
python-version: '3.11'
4343

44+
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # version 4.0.2
45+
if: runner.os == 'Windows'
46+
with:
47+
# Pin node to version before 18.20.2 due to https://github.com/nodejs/node/issues/52554
48+
# 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
49+
node-version: 18.20.0
50+
4451
- name: Install Amplify CLI
4552
uses: ./.github/actions/install-cli
4653
with:

0 commit comments

Comments
 (0)