Upgrade Viem #109
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: End to End Tests | |
on: | |
push: | |
branches: [main] | |
jobs: | |
types: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- name: Cache node modules | |
uses: actions/cache@v4 | |
with: | |
path: | | |
node_modules | |
~/.cache/yarn | |
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: E2E Test | |
run: | | |
yarn --frozen-lockfile | |
yarn test e2e | |
env: | |
MPC_CONTRACT_ID: v1.signer-prod.testnet | |
NEAR_ACCOUNT_ID: ${{secrets.NEAR_ACCOUNT_ID}} | |
NEAR_ACCOUNT_PRIVATE_KEY: ${{secrets.NEAR_PK}} | |
ETH_PK: ${{secrets.ETH_PK}} |