Inline NODE_OPTIONS for CI check step
Step-level env may not propagate to pnpm subprocesses in Gitea Actions. Inline the variable directly in the command instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -20,9 +20,7 @@ jobs:
|
|||||||
node-version: 22
|
node-version: 22
|
||||||
|
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
- run: pnpm check
|
- run: NODE_OPTIONS="--max-old-space-size=2048" pnpm check
|
||||||
env:
|
|
||||||
NODE_OPTIONS: "--max-old-space-size=2048"
|
|
||||||
|
|
||||||
build-image:
|
build-image:
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
|||||||
Reference in New Issue
Block a user