Split up setup step for Windows runner

This commit is contained in:
Sander Declerck 2025-12-16 13:01:04 +01:00
parent 4be1f7900d
commit 5e28190d87
No known key found for this signature in database

View file

@ -59,9 +59,15 @@ jobs:
with:
node-version: "20.x"
- name: Setup safe-chain
- name: Setup safe-chain (Mac/Linux)
if: runner.os != 'Windows'
run: curl -fsSL https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.sh | sh -s -- --ci
- name: Setup safe-chain (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: iex "& { $(iwr 'https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.ps1' -UseBasicParsing) } -ci"
- name: Install dependencies
run: npm ci --ignore-scripts