feat: Hooks to update Safe threshold + owners #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- development | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
# START: Temporary steps to install sdk-starter-kit | |
# This is only temporary until the `sdk-starter-kit` is public | |
# TODO: Remove these steps when the `sdk-starter-kit` is published to npm | |
- name: Checkout safe-core-sdk | |
uses: actions/checkout@v4 | |
with: | |
repository: safe-global/safe-core-sdk | |
ref: e4126a12d7e9a1d6743afaaa2d1db16ff4c43a29 | |
path: './safe-core-sdk' | |
- name: Yarn install safe-core-sdk | |
run: yarn --cwd ./safe-core-sdk install | |
- name: Build safe-core-sdk | |
run: yarn --cwd ./safe-core-sdk build | |
# END: Temporary steps to install sdk-starter-kit | |
- name: Yarn install | |
run: yarn install --frozen-lockfile | |
- name: Build | |
run: yarn build | |
- name: Test | |
run: yarn coverage | |
- name: Upload coverage report | |
uses: coverallsapp/github-action@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
files: coverage/lcov.info |