Skip to content

Commit

Permalink
ci(deploy): change host to 127.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zweihander-Main committed Jun 28, 2024
1 parent 5a6c6f5 commit 07a0cb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@ jobs:

- name: Cypress run
uses: cypress-io/github-action@v6
env:
DEBUG: '@cypress/github-action'
with:
browser: chrome
start: npm run serve
wait-on: 'http://localhost:4321'
wait-on: 'http://127.0.0.1:4321'
wait-on-timeout: 360

- name: Upload E2E run data as artifacts
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"scripts": {
"dev": "astro dev",
"build": "astro build --port 9998",
"preview": "astro preview --host",
"serve": "astro build; astro preview",
"preview": "astro preview",
"serve": "astro build; astro preview --host 127.0.0.1",
"test": "is-ci-cli test:coverage test:watch",
"test:coverage": "vitest --coverage --run --api.port 9999",
"test:watch": "vitest --watch",
Expand Down

0 comments on commit 07a0cb9

Please sign in to comment.