-
Notifications
You must be signed in to change notification settings - Fork 8
46 lines (36 loc) · 1.05 KB
/
test.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
41
42
43
44
45
name: Test Filecoin FVM Localnet Docker Images
on:
workflow_dispatch:
{}
env:
REGISTRY: ghcr.io
NAMESPACE: ${{ github.repository_owner }}
IMAGE_NAME: filecoin-fvm-localnet
jobs:
test-filecoin:
name: Test Filecoin
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
actions: write
outputs:
digest: ${{ steps.build.outputs.digest }}
steps:
- name: Checkout localnet
uses: actions/checkout@v3
with:
path: localnet
- name: Checkout tools repo
uses: actions/checkout@v3
with:
repository: filecoin-project/fevm-hardhat-kit
path: fevm-hardhat-kit
- name: Start localnet
uses: isbang/[email protected]
with:
compose-file: "./localnet/docker-compose.yaml"
- name: Install Hardhat and deps
run: cd fevm-hardhat-kit; yarn install
- name: Deploy contracts to localnet
run: cd fevm-hardhat-kit; yarn hardhat deploy --network localnet