mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-21 15:06:45 +02:00
Convert npx to npm exec
This commit is contained in:
parent
9c6de739c7
commit
ba27dbb533
2
.github/workflows/e2e-tests.yml
vendored
2
.github/workflows/e2e-tests.yml
vendored
|
@ -60,7 +60,7 @@ jobs:
|
||||||
|
|
||||||
- name: run Cypress (with or without recording)
|
- name: run Cypress (with or without recording)
|
||||||
# if we have ran out of free Cypress recordings, run Cypress with recording switched off
|
# if we have ran out of free Cypress recordings, run Cypress with recording switched off
|
||||||
run: npx run-p --race start cypress:ci || npx run-p --race start cypress:run
|
run: npm exec -- run-p --race start cypress:ci || npm exec -- run-p --race start cypress:run
|
||||||
env:
|
env:
|
||||||
NODE_ENV: production # prevent watching
|
NODE_ENV: production # prevent watching
|
||||||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
||||||
|
|
Loading…
Reference in a new issue