♻️ refactor: fix production build

This commit is contained in:
2024-12-04 15:04:18 +00:00
parent 1749797bca
commit 4a0fa4a486
10 changed files with 135 additions and 116 deletions
+2 -2
View File
@@ -36,9 +36,9 @@ jobs:
node-version: 'lts/*'
cache: 'npm'
- name: Install dependencies
run: npm install
run: npm ci --omit=dev
- name: Build
run: npm run build
run: npm run build:prod
- name: Copy index.html to 404.html
# see https://stackoverflow.com/a/76148302
run: cp ./dist/index.html ./dist/404.html