mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-19 01:45:53 +00:00
ci: set max memory for nuxt2 release script globally
This commit is contained in:
parent
95246397e6
commit
d1a5719cbc
8
.github/workflows/nuxt2-edge.yml
vendored
8
.github/workflows/nuxt2-edge.yml
vendored
@ -5,6 +5,12 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
# https://github.com/vitejs/vite/blob/main/.github/workflows/ci.yml
|
||||||
|
env:
|
||||||
|
# 7 GiB by default on GitHub, setting to 6 GiB
|
||||||
|
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
|
||||||
|
NODE_OPTIONS: --max-old-space-size=6144
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
nightly:
|
nightly:
|
||||||
if: github.repository_owner == 'nuxt'
|
if: github.repository_owner == 'nuxt'
|
||||||
@ -30,8 +36,6 @@ jobs:
|
|||||||
run: yarn run audit
|
run: yarn run audit
|
||||||
- name: build
|
- name: build
|
||||||
run: yarn test:fixtures -i
|
run: yarn test:fixtures -i
|
||||||
env:
|
|
||||||
NODE_OPTIONS: "--max_old_space_size=4096"
|
|
||||||
- name: lint app
|
- name: lint app
|
||||||
run: yarn lint:app
|
run: yarn lint:app
|
||||||
- name: test types
|
- name: test types
|
||||||
|
Loading…
Reference in New Issue
Block a user