Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions .github/workflows/malware-safe-chain.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
name: Malware Safe Chain

on:
pull_request: ~
push:
branches:
- main
pull_request:
branches:
- main

jobs:
safe-chain:
malware-safe-chain:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'pnpm'
- name: Install Aikido Safe Chain
run: npm install -g @aikidosec/safe-chain
- name: Setup Safe Chain for CI
run: safe-chain setup-ci

- name: Install safe-chain
run: curl -fsSL https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.sh | sh -s -- --ci

- name: Install dependencies with Safe Chain protection
run: pnpm install
run: pnpm install --frozen-lockfile
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.1",
"license": "MIT",
"type": "module",
"packageManager": "pnpm@10.25.0",
"volta": {
"node": "22.21.1"
},
Expand Down