diff --git a/.github/workflows/malware-safe-chain.yml b/.github/workflows/malware-safe-chain.yml new file mode 100644 index 0000000..d56b2d5 --- /dev/null +++ b/.github/workflows/malware-safe-chain.yml @@ -0,0 +1,27 @@ +name: Malware Safe Chain + +on: + pull_request: ~ + push: + branches: + - main + +jobs: + malware-safe-chain: + runs-on: ubuntu-latest + steps: + - 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' + + - 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 --frozen-lockfile