Skip to content

Commit

Permalink
ci: update calls to https
Browse files Browse the repository at this point in the history
  • Loading branch information
mwargan committed Nov 26, 2023
1 parent 34bb320 commit c4322d8
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"name": "Run dev",
"preLaunchTask": "npm: dev",
"url": "http://192.168.10.17:4173",
"url": "https://192.168.10.17:4173",
"webRoot": "${workspaceFolder}"
},
{
Expand All @@ -23,7 +23,7 @@
],
"name": "Test app",
"preLaunchTask": "npm: test:e2e:dev",
"url": "http://192.168.10.17:4173",
"url": "https://192.168.10.17:4173",
"webRoot": "${workspaceFolder}"
}
]
Expand Down
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "npm",
"script": "test:e2e:dev",
"label": "npm: test:e2e:dev",
"detail": "start-server-and-test 'vite dev --port 4173 --host' :4173 'cypress open --e2e'"
"detail": "start-server-and-test 'vite dev --port 4173 --host' https://localhost:4173 'cypress open --e2e'"
}
]
}
2 changes: 1 addition & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from "cypress";
export default defineConfig({
e2e: {
specPattern: "cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}",
baseUrl: "http://localhost:4173",
baseUrl: "https://localhost:4173",
// Viewport for mobile
viewportWidth: 375,
},
Expand Down
43 changes: 25 additions & 18 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"scripts": {
"dev": "vite",
"build": "run-p type-check build-only",
"preview": "vite preview --host",
"preview": "vite preview",
"preview:new": "build && run-p preview",
"test:unit:coverage": "vitest --environment jsdom --root src/ run --coverage",
"test:unit": "vitest --environment jsdom --root src/",
"test:e2e": "start-server-and-test preview :4173 'cypress run --e2e --config video=false,screenshotOnRunFailure=false'",
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173 --host' :4173 'cypress open --e2e'",
"test:e2e": "START_SERVER_AND_TEST_INSECURE=1 start-server-and-test preview https://localhost:4173/ 'cypress run --e2e --config video=false,screenshotOnRunFailure=false'",
"test:e2e:dev": "START_SERVER_AND_TEST_INSECURE=1 start-server-and-test 'vite dev --port 4173 --host' https://localhost:4173/ 'cypress open --e2e'",
"build-only": "vite build",
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
Expand Down Expand Up @@ -52,7 +52,7 @@
"pre-commit": "^1.2.2",
"pre-push": "^0.1.4",
"prettier": "^2.7.1",
"start-server-and-test": "^1.14.0",
"start-server-and-test": "^2.0.3",
"typescript": "~4.7.4",
"vite": "^3.1.8",
"vitest": "^0.24.3",
Expand Down

0 comments on commit c4322d8

Please sign in to comment.