mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Update README
This commit is contained in:
parent
5de43c1bf2
commit
8c929f65e2
1 changed files with 1 additions and 4 deletions
|
|
@ -224,8 +224,6 @@ iex "& { $(iwr 'https://raw.githubusercontent.com/AikidoSec/safe-chain/main/inst
|
||||||
displayName: "Install dependencies"
|
displayName: "Install dependencies"
|
||||||
```
|
```
|
||||||
|
|
||||||
After setup, all subsequent package manager commands in your CI pipeline will automatically be protected by Aikido Safe Chain's malware detection.
|
|
||||||
|
|
||||||
## CircleCI Example
|
## CircleCI Example
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
@ -239,11 +237,10 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
curl -fsSL https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.sh | sh -s -- --ci
|
curl -fsSL https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.sh | sh -s -- --ci
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm test
|
|
||||||
workflows:
|
workflows:
|
||||||
build_and_test:
|
build_and_test:
|
||||||
jobs:
|
jobs:
|
||||||
- build
|
- build
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: `setup-ci` writes the Safe Chain shims to `~/.safe-chain/shims` and persists PATH via CircleCI's `BASH_ENV`, so subsequent steps automatically use the wrapped package managers.
|
After setup, all subsequent package manager commands in your CI pipeline will automatically be protected by Aikido Safe Chain's malware detection.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue