Skip to content

Commit

Permalink
add ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SebinSong committed Aug 31, 2024
1 parent c036670 commit 8dcaf75
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/.workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: APP E2E test

on:
push:
branches: [ "main" ]

jobs:
e2e-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm build
- run: npm e2e-test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dev-server": "nodemon backend/server",
"dev-seed-data": "node backend/seeder.js",
"start": "node backend/server",
"build": "npm install && vite build --mode production --emptyOutDir",
"build": "npm ci && vite build --mode production --emptyOutDir",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"build:start": "npm run build && npm run start",
Expand Down

0 comments on commit 8dcaf75

Please sign in to comment.