set global node_options

This commit is contained in:
Jacob Overgaard
2023-03-21 16:13:07 +01:00
parent 7c308fdad9
commit b48c2c3385

View File

@@ -22,6 +22,9 @@ on:
- './rollup-libs.config.js'
workflow_dispatch:
env:
NODE_OPTIONS: --max-old-space-size=16384
jobs:
build:
runs-on: ubuntu-latest
@@ -32,7 +35,7 @@ jobs:
node-version: 18
cache: 'npm'
- run: npm ci
- run: NODE_OPTIONS=--max-old-space-size=4096 npm run build:libs
- run: npm run build:libs
- uses: actions/upload-artifact@v3
with:
name: artifact