mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
feat(cli): add env config to template
This commit is contained in:
parent
57617e6658
commit
a4bea8202b
@ -56,11 +56,15 @@ jobs:
|
||||
# Run the build script
|
||||
{{#unless (equal packageManager "yarn")}}
|
||||
- name: Build VuePress site
|
||||
env:
|
||||
NODE_OPTIONS: --max_old_space_size=8192
|
||||
run: {{packageManager}} run docs:build
|
||||
{{/unless}}
|
||||
{{#if (equal packageManager "yarn")}}
|
||||
- name: Build VuePress site
|
||||
uses: borales/actions-yarn@v4
|
||||
env:
|
||||
NODE_OPTIONS: --max_old_space_size=8192
|
||||
with:
|
||||
cmd: docs:build
|
||||
{{/if}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user