1234567891011121314151617181920212223 |
- name: Setup
- description: Common environment setup
- runs:
- using: composite
- steps:
- - uses: actions/setup-node@v4
- with:
- node-version: 20.x
- - uses: actions/cache@v4
- id: cache
- with:
- path: '**/node_modules'
- key: npm-v3-${{ hashFiles('**/package-lock.json') }}
- - name: Install dependencies
- ## TODO: Remove when EIP-7702 authorizations are enabled in latest non-beta ethers version
- run: npm ci --legacy-peer-deps
- shell: bash
- if: steps.cache.outputs.cache-hit != 'true'
- - name: Install Foundry
- uses: foundry-rs/foundry-toolchain@v1
- with:
- version: stable
|