feat: Add new safe-4337 pack tests #1094
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: Safe Core SDK Test - Contracts | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- development | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
provider: [ethers, web3] | |
contract-version: [v1.0.0, v1.1.1, v1.2.0, v1.3.0, v1.4.1] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- run: | | |
yarn install --frozen-lockfile | |
yarn build | |
- name: Test ${{ matrix.provider }} - Safe ${{ matrix.contract-version }} | |
run: | | |
cd packages/protocol-kit | |
yarn test:hardhat:${{ matrix.provider }}:${{ matrix.contract-version }} |