Files
cli/.github/workflows/test.yml
Mauricio Siu 0d54e9bcac 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.
2026-04-15 21:05:39 -06:00

31 lines
627 B
YAML

name: tests
on:
push:
branches-ignore: [main]
workflow_dispatch:
env:
COREPACK_ENABLE_STRICT: 0
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node_version: [lts/*, latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v6
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: pnpm
- run: pnpm install --ignore-scripts
- run: pnpm run build
- run: pnpm run test