Skip to content

Update contract order #2

Update contract order

Update contract order #2

Workflow file for this run

name: Smart Contracts
on:
push:
branches: [main]
paths: ['apps/contracts/**']
pull_request:
paths: ['apps/contracts/**']
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
- name: Install dependencies in contracts package
run: pnpm install --filter contracts
- name: Run tests
run: pnpm test --filter contracts
env:
# Default Hardhat account
DEPLOYER_KEY: '0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80'
BASESCAN_API_KEY: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'