Skip to content

chore: add Aikido Safe Chain to CI workflows (#119) #329

chore: add Aikido Safe Chain to CI workflows (#119)

chore: add Aikido Safe Chain to CI workflows (#119) #329

Workflow file for this run

name: Check
on:
push:
branches:
- "**"
permissions: read-all
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: "16"
cache: "yarn"
- name: Install Aikido Safe Chain 1.5.3
shell: bash
run: |
curl -fsSL -o /tmp/install-safe-chain.sh https://github.com/AikidoSec/safe-chain/releases/download/1.5.3/install-safe-chain.sh
echo "0107cbbbf90159379756157e902acae512d62ffbd174307e42c5fe9f266792d3 /tmp/install-safe-chain.sh" | sha256sum -c
sh /tmp/install-safe-chain.sh --ci
- name: Verify Aikido Safe Chain
shell: bash
run: safe-chain --version && npm safe-chain-verify
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run lint script
run: yarn lint
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: "16"
cache: "yarn"
- name: Install Aikido Safe Chain 1.5.3
shell: bash
run: |
curl -fsSL -o /tmp/install-safe-chain.sh https://github.com/AikidoSec/safe-chain/releases/download/1.5.3/install-safe-chain.sh
echo "0107cbbbf90159379756157e902acae512d62ffbd174307e42c5fe9f266792d3 /tmp/install-safe-chain.sh" | sha256sum -c
sh /tmp/install-safe-chain.sh --ci
- name: Verify Aikido Safe Chain
shell: bash
run: safe-chain --version && npm safe-chain-verify
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run build script
run: yarn build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: "16"
cache: "yarn"
- name: Install Aikido Safe Chain 1.5.3
shell: bash
run: |
curl -fsSL -o /tmp/install-safe-chain.sh https://github.com/AikidoSec/safe-chain/releases/download/1.5.3/install-safe-chain.sh
echo "0107cbbbf90159379756157e902acae512d62ffbd174307e42c5fe9f266792d3 /tmp/install-safe-chain.sh" | sha256sum -c
sh /tmp/install-safe-chain.sh --ci
- name: Verify Aikido Safe Chain
shell: bash
run: safe-chain --version && npm safe-chain-verify
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run test script
run: yarn test
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: "16"
cache: "yarn"
- name: Install Aikido Safe Chain 1.5.3
shell: bash
run: |
curl -fsSL -o /tmp/install-safe-chain.sh https://github.com/AikidoSec/safe-chain/releases/download/1.5.3/install-safe-chain.sh
echo "0107cbbbf90159379756157e902acae512d62ffbd174307e42c5fe9f266792d3 /tmp/install-safe-chain.sh" | sha256sum -c
sh /tmp/install-safe-chain.sh --ci
- name: Verify Aikido Safe Chain
shell: bash
run: safe-chain --version && npm safe-chain-verify
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Start examples and run e2e tests
run: yarn e2e