Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashbrnrd committed Mar 27, 2024
1 parent 25cbcb7 commit f605099
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 27 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,11 @@ jobs:

- name: Start stack using docker compose
run: docker compose up -d

- name: Setup nodejs (for cypress)
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true
cache: "npm"
cache-dependency-path: "frontend/package-lock.json"

- name: Install npm packages (for cypress)
run: npm ci
working-directory: ./frontend

- name: Test end to end (cypress)
run: FRONTEND_HOST=localhost FRONTEND_PORT=3000 npm run test:e2e-ci
working-directory: ./frontend
- name: Cypress run
uses: cypress-io/github-action@v6
with:
working-directory: ./frontend

- name: Send artifacts
uses: actions/upload-artifact@v3
Expand Down
22 changes: 11 additions & 11 deletions frontend/package-lock.json

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

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@vitejs/plugin-vue": "^5.0.3",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/tsconfig": "^0.5.1",
"cypress": "^13.6.4",
"cypress": "^13.7.1",
"eslint": "^8.56.0",
"eslint-config-standard": "^17.1.0",
"eslint-config-standard-with-typescript": "^43.0.1",
Expand Down

0 comments on commit f605099

Please sign in to comment.