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

@@ -4,6 +4,9 @@ on:
push:
branches: [main]
env:
COREPACK_ENABLE_STRICT: 0
jobs:
release:
runs-on: ubuntu-latest
@@ -22,7 +25,7 @@ jobs:
cache: pnpm
registry-url: https://registry.npmjs.org
- run: pnpm install
- run: pnpm install --ignore-scripts
- run: pnpm run build
- name: Check if version already exists