chore(ci): build

Signed-off-by: Neko Ayaka <neko@ayaka.moe>
This commit is contained in:
Neko Ayaka
2024-12-03 13:13:06 +08:00
parent cd0f371595
commit f4f1bc5920
2 changed files with 4 additions and 17 deletions
+2 -14
View File
@@ -65,20 +65,8 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build packages
run: pnpm packages:build
env:
# As suggested in Verbose Build option to be able to track down errors https://github.com/vuejs/vitepress/issues/422
# vitepress build command does not have --debug option, so we need to set it manually where the debug package is used.
DEBUG: none
- name: Build docs
run: pnpm docs:build
env:
# As suggested in Verbose Build option to be able to track down errors https://github.com/vuejs/vitepress/issues/422
# vitepress build command does not have --debug option, so we need to set it manually where the debug package is used.
# DEBUG: 'vitepress:*'
VUE_PROD_HYDRATION_MISMATCH_DETAILS_FLAG: '1'
- name: Build Site
run: pnpm build
- name: Upload artifact
uses: actions/upload-artifact@v4
@@ -47,10 +47,9 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build docs
- name: Build Site
run: |
pnpm packages:build
pnpm docs:build
pnpm build
env:
# As suggested in Verbose Build option to be able to track down errors https://github.com/vuejs/vitepress/issues/422
# vitepress build command does not have --debug option, so we need to set it manually where the debug package is used.