Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Continuous Integration

on:
pull_request:
branches:
- main

jobs:
automation-test-job:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: |
npm install
npm run ci:test
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"preview": "vite preview",
"lint": "eslint ./src",
"test": "vitest",
"ci:test": "vitest --no-watch && start-server-and-test dev http://localhost:5173 e2e",
"e2e": "cypress run"
},
"dependencies": {
Expand Down Expand Up @@ -47,6 +48,7 @@
"globals": "^15.10.0",
"jsdom": "^26.0.0",
"postcss": "^8.5.3",
"start-server-and-test": "^2.0.10",
"tailwindcss": "^3.4.17",
"vite": "^4.2.0",
"vitest": "^3.0.6"
Expand Down
Loading