Skip to content

Commit

Permalink
chore(ci): build with for production
Browse files Browse the repository at this point in the history
  • Loading branch information
stfsy committed May 10, 2022
1 parent 8ba1697 commit 4416316
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/deploys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:

- name: Add version file
run: npm pkg get --json version name > docs/.vuepress/dist/_version.json
env:
NODE_ENV: production

- uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ jobs:
- run: npm ci

- name: Build
run: npm run docs:build
run: npm run docs:build
env:
NODE_ENV: production

0 comments on commit 4416316

Please sign in to comment.