Skip to content

Commit

Permalink
hmm
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Buldauskas committed Aug 11, 2024
1 parent 5907573 commit 1a5bb1e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ jobs:
- name: cypress
uses: cypress-io/github-action@v5
with:
start: npm run e2e, npm run preview
start: npm run e2e
command: npm run cy-ci
wait-on: http://localhost:8080
# - name: SonarCloud Scan
# uses: SonarSource/sonarcloud-github-action@master
# env:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"e2e": "NODE_OPTIONS=--dns-result-order=ipv4first c8 -o ./coverage-cypress -r=text -r=lcov node ./e2e-backend.mjs",
"e2e-dev": "nodemon --watch ext --watch src --exec ./e2e-backend.mjs",
"cy": "HTTP_PROXY=http://localhost:8000 cypress open --component",
"cy-ci": "HTTP_PROXY=http://localhost:8000 cypress run --e2e",
"cy-ci": "HTTP_PROXY=http://localhost:8000 cypress run --component",
"lint": "eslint src/**/*.mjs",
"format": "prettier --write ./src",
"shutdown": "curl localhost:9000/shutdown",
Expand Down
3 changes: 3 additions & 0 deletions vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export default defineConfig({
},
},
},
devServer: {
host: true,
},
preview: {
port: '8080',
},
Expand Down

0 comments on commit 1a5bb1e

Please sign in to comment.