Skip to content

Feat/other pages

Feat/other pages #67

Workflow file for this run

name: Contracts CI
on:
push:
branches: [main]
paths:
- "packages/contracts/**"
pull_request:
branches: [main]
paths:
- "packages/contracts/**"
jobs:
build:
name: Build and Test Contracts
timeout-minutes: 2
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 8.15.6
run_install: false
- name: Setup NodeJS 20.14.0
uses: actions/setup-node@v4
with:
node-version: 20.14.0
cache: "pnpm"
- name: Install contracts dependencies
working-directory: packages/contracts
run: pnpm install
- name: Run Hardhat Compile
working-directory: packages/contracts
run: pnpm exec hardhat compile
- name: Run Hardhat Test
working-directory: packages/contracts
run: pnpm exec hardhat test