mirror of
https://github.com/Dokploy/cli.git
synced 2026-06-15 20:25:22 +02:00
- 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.
31 lines
627 B
YAML
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
|