Skip to content

Commit e324477

Browse files
committed
Test npm run
1 parent b00984e commit e324477

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/callable-local-e2e-webpack-test.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,24 @@ jobs:
1616
# uses: ./amplify-data/.github/actions/node-and-build
1717
# - name: Load Verdaccio with AmplifyData
1818
# uses: ./amplify-data/.github/actions/load-verdaccio-with-amplify-data
19+
- name: Make script executable
20+
run: chmod +x ./amplify-data/scripts/retry-npm-script.sh
1921
- name: Run cypress tests for webpack e2e test dev
2022
shell: bash
2123
working-directory: ./amplify-data
2224
env:
2325
E2E_ENV: ${{ '{}' }}
24-
# run: |
25-
# ../amplify-data/scripts/retry-npm-script.sh -s \
26-
# "ci:test-webpack \
27-
# webpack \
28-
# webpack \
29-
# chrome \
30-
# dev \
31-
# cli \
32-
# --env $(echo $E2E_ENV | jq -r 'tostring')" \
33-
# -n 3
34-
run: npm run ci:test-webpack webpack webpack chrome dev cli --env $(echo $E2E_ENV | jq -r 'tostring')
26+
run: |
27+
../amplify-data/scripts/retry-npm-script.sh -s \
28+
"ci:test-webpack \
29+
webpack \
30+
webpack \
31+
chrome \
32+
dev \
33+
cli \
34+
--env $(echo $E2E_ENV | jq -r 'tostring')" \
35+
-n 3
36+
# run: npm run ci:test-webpack webpack webpack chrome dev cli --env $(echo $E2E_ENV | jq -r 'tostring')
3537
- name: Upload artifact
3638
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 https://github.com/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce
3739
if: failure()

0 commit comments

Comments
 (0)