chore: fix site-deploy.yml from OOM (#42990)

* Update site-deploy.yml

* Update site-deploy.yml
This commit is contained in:
afc163 2023-06-13 12:55:09 +08:00 committed by GitHub
parent 38105982c0
commit 8dba94b389
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,11 +69,14 @@ jobs:
- name: build site
run: npm run predeploy
env:
NODE_OPTIONS: "--max_old_space_size=4096"
- name: build dist and bundle analyzer report
run: npm run dist
env:
ANALYZER: 1
NODE_OPTIONS: "--max_old_space_size=4096"
- name: Get version
id: publish-version