chore: update GitHub workflows to disable strict Corepack mode and ignore scripts during installation

- Added environment variable COREPACK_ENABLE_STRICT set to 0 in both onPushToMain.yml and test.yml workflows.
- Modified pnpm install command to include --ignore-scripts flag, preventing scripts from running during installation.
This commit is contained in:
Mauricio Siu
2026-04-15 21:05:39 -06:00
parent d5f9d5b8fc
commit 0d54e9bcac
2 changed files with 8 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ on:
branches-ignore: [main]
workflow_dispatch:
env:
COREPACK_ENABLE_STRICT: 0
jobs:
test:
strategy:
@@ -22,6 +25,6 @@ jobs:
with:
node-version: ${{ matrix.node_version }}
cache: pnpm
- run: pnpm install
- run: pnpm install --ignore-scripts
- run: pnpm run build
- run: pnpm run test