Skip to content

Commit

Permalink
ci: set max memory for nuxt2 release script globally
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed May 15, 2023
1 parent 9524639 commit d1a5719
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/nuxt2-edge.yml
Expand Up @@ -5,6 +5,12 @@ on:
schedule:
- 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:
nightly:
if: github.repository_owner == 'nuxt'
Expand All @@ -30,8 +36,6 @@ jobs:
run: yarn run audit
- name: build
run: yarn test:fixtures -i
env:
NODE_OPTIONS: "--max_old_space_size=4096"
- name: lint app
run: yarn lint:app
- name: test types
Expand Down

0 comments on commit d1a5719

Please sign in to comment.