mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 20:20:49 +00:00
Merge pull request #297 from AikidoSec/use-bash-for-windows-ci-safe-chain-setup
Use bash for setting up safe-chain in CI
This commit is contained in:
commit
6c6ce796d9
2 changed files with 4 additions and 14 deletions
9
.github/workflows/create-artifact.yml
vendored
9
.github/workflows/create-artifact.yml
vendored
|
|
@ -69,14 +69,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: "20.x"
|
node-version: "20.x"
|
||||||
|
|
||||||
- name: Setup safe-chain (Mac/Linux)
|
- name: Setup safe-chain
|
||||||
if: runner.os != 'Windows'
|
|
||||||
run: curl -fsSL https://github.com/AikidoSec/safe-chain/releases/latest/download/install-safe-chain.sh | sh -s -- --ci
|
run: curl -fsSL https://github.com/AikidoSec/safe-chain/releases/latest/download/install-safe-chain.sh | sh -s -- --ci
|
||||||
|
shell: bash
|
||||||
- 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: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci --ignore-scripts
|
run: npm ci --ignore-scripts
|
||||||
|
|
|
||||||
9
.github/workflows/test-on-pr.yml
vendored
9
.github/workflows/test-on-pr.yml
vendored
|
|
@ -22,14 +22,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: "lts/*"
|
node-version: "lts/*"
|
||||||
|
|
||||||
- name: Setup safe-chain (Mac/Linux)
|
- name: Setup safe-chain
|
||||||
if: runner.os != 'Windows'
|
|
||||||
run: curl -fsSL https://github.com/AikidoSec/safe-chain/releases/latest/download/install-safe-chain.sh | sh -s -- --ci
|
run: curl -fsSL https://github.com/AikidoSec/safe-chain/releases/latest/download/install-safe-chain.sh | sh -s -- --ci
|
||||||
|
shell: bash
|
||||||
- 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: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci --ignore-scripts
|
run: npm ci --ignore-scripts
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue