Skip to content

Commit

Permalink
Add vite build script to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
lynn committed Sep 4, 2023
1 parent ed949e4 commit 22ce180
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: npm run prettier:check

- name: Build project
run: npm run build
run: npm run vite:build
- name: Upload production-ready build files
uses: actions/upload-artifact@v3
with:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"bot:debug": "node --inspect-brk -r esbuild-runner/register src/bot.ts",
"codegen": "npx nearleyc src/toaq.ne -o src/grammar.ts",
"ts:build": "npx tsc",
"ts:check": "npx tsc --noEmit"
"ts:check": "npx tsc --noEmit",
"vite:build": "npx vite build"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 22ce180

Please sign in to comment.