-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (28 loc) · 835 Bytes
/
build.yml
File metadata and controls
38 lines (28 loc) · 835 Bytes
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
name: Build
on:
schedule:
- cron: '0 * * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: data
- uses: actions/setup-node@v1
with:
node-version: '14'
- run: git clone https://@github.com/eulerdao/contracts.git
- run: echo ${{ secrets.DEV_CONFIG }} | base64 -d > contracts/.dev.config.js
- run: ln -s $(pwd) $(pwd)/contracts/.cache
- run: |
cd contracts
npm install
npx hardhat --network ropsten run scripts/CountProblems.js
- run: rm -rf contracts
- run: |
git add .
git config --global user.email "eulerdao"
git config --global user.name "eulerdao"
git commit -m 'build cache' || true
git push