Use bash for setting up safe-chain in CI

This commit is contained in:
Sander Declerck 2026-01-20 13:34:22 +01:00
parent 4b07619769
commit 0d8b919831
No known key found for this signature in database
2 changed files with 6 additions and 16 deletions

View file

@ -22,14 +22,9 @@ jobs:
with:
node-version: "lts/*"
- name: Setup safe-chain (Mac/Linux)
if: runner.os != 'Windows'
run: curl -fsSL https://github.com/AikidoSec/safe-chain/releases/latest/download/install-safe-chain.sh | sh -s -- --ci
- name: Setup safe-chain (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: iex "& { $(iwr 'https://github.com/AikidoSec/safe-chain/releases/latest/download/install-safe-chain.ps1' -UseBasicParsing) } -ci"
- name: Setup safe-chain
run: curl -fsSL https://github.com/AikidoSec/safe-chain/releases/download/0.0.1-windows-install-script-in-git-bash-beta/install-safe-chain.sh | sh -s -- --ci
shell: bash
- name: Install dependencies
run: npm ci --ignore-scripts