-
Notifications
You must be signed in to change notification settings - Fork 7
40 lines (38 loc) · 1.16 KB
/
build_web3.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Build Smart Contracts
on:
pull_request:
branches:
- main
paths:
- '.github/workflows/build_web3.yml'
- 'web3/**'
jobs:
build_web3:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive # Ensure submodules are checked out and
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18.18.0
- uses: actions/setup-go@v2
with:
go-version: ^1.20.0
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install dependencies
working-directory: ./web3
run: npm install
- name: Run Hardhat compile
working-directory: ./web3
run: npx hardhat compile
- name: Install seer
run: go install github.com/G7DAO/seer@latest
- name: Build everything
run: |
make