forked from CMTA/CMTAT
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 862 Bytes
/
ci.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
name: CI
on:
push:
branches: [dev, master, main, wrapped-assets]
pull_request:
branches: [dev, master, main, wrapped-assets]
workflow_dispatch:
env:
MAINNET_NODE: ${{ secrets.MAINNET_NODE }}
GOERLI_NODE: ${{ secrets.GOERLI_NODE }}
POLYGON_NODE: ${{ secrets.POLYGON_NODE }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
PRIVATE_KEY: ${{ secrets.DUMMY_PK }}
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Setup NodeJS 18
uses: actions/setup-node@v2
with:
node-version: 18.16.0
- name: Show NodeJS version
run: npm --version
- name: Install Project Dependencies
run: npm install
- name: Run Hardhat Tests
run: npx hardhat coverage