Skip to content

Commit 512ba8a

Browse files
authored
Merge pull request #194 from ccremer/cypress-gh
Use Cypress GH action
2 parents 2550b2d + fb32921 commit 512ba8a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,7 @@ jobs:
5151
cache-dependency-path: ui/package-lock.json
5252

5353
- name: Run tests
54-
run: make test-ui
54+
uses: cypress-io/github-action@v4
55+
with:
56+
component: true
57+
working-directory: ui

ui/vite.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import 'dotenv/config'
55
// https://vitejs.dev/config/
66
export default defineConfig(({mode}) => {
77
if (mode !== "production" && !process.env.VITE_KUBERNETES_API_URL) {
8-
console.log('environment variable VITE_KUBERNETES_API_URL is not defined')
9-
process.exit(1)
8+
console.log('⚠️ WARNING ⚠️ :environment variable VITE_KUBERNETES_API_URL is not defined. API may not be working!')
109
}
1110
return {
1211
plugins: [svelte()],

0 commit comments

Comments
 (0)