Skip to content

Commit

Permalink
use cross-env for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Gartland committed Nov 3, 2023
1 parent 83fc4db commit 9a82b74
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/cypress-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,3 @@ jobs:
- run: just cy install
- run: just cy test
- run: just cy test-deploy

- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: true
19 changes: 19 additions & 0 deletions test/cy/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion test/cy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
"test-deploy": "start-server-and-test --expect 401 start http-get://127.0.0.1:9000 run-deploy",
"open": "cypress open",
"run": "cypress run --spec ./cypress/e2e/publish-ui/*.cy.js --env token=token",
"run-deploy": "cypress run --spec ./cypress/e2e/deploy/*.cy.js --env token=token,CYPRESS_CONNECT_ADDRESS=$CYPRESS_CONNECT_ADDRESS"
"run-deploy": "cross-env cypress run --spec ./cypress/e2e/deploy/*.cy.js --env token=token,CYPRESS_CONNECT_ADDRESS=$CYPRESS_CONNECT_ADDRESS"
},
"devDependencies": {
"cross-env": "^7.0.3",
"cypress": "^13.3.0",
"eslint": "^8.51.0",
"eslint-plugin-cypress": "^2.15.1",
Expand Down

0 comments on commit 9a82b74

Please sign in to comment.