File tree Expand file tree Collapse file tree 1 file changed +5
-26
lines changed Expand file tree Collapse file tree 1 file changed +5
-26
lines changed Original file line number Diff line number Diff line change 7
7
- master
8
8
9
9
jobs :
10
- test-typescript :
11
- runs-on : ubuntu-latest
12
- steps :
13
- - name : Checkout code
14
- uses : actions/checkout@v2
15
- - name : Setup Node
16
- uses : actions/setup-node@v3
17
- with :
18
- node-version : 14.x
19
- - name : Get yarn cache directory path
20
- id : yarn-cache-dir-path
21
- run : echo "::set-output name=dir::$(yarn cache dir)"
22
- - uses : actions/cache@v2
23
- id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
24
- with :
25
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
26
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
27
- restore-keys : |
28
- ${{ runner.os }}-yarn-
29
- - name : Install dependencies
30
- run : yarn install --frozen-lockfile
31
- - name : Compile code
32
- run : yarn compile:force
33
- - name : Run TypeScript/Waffle tests
34
- run : yarn test
35
- tests-forge :
10
+ tests :
36
11
runs-on : ubuntu-latest
37
12
steps :
38
13
- name : Checkout code
59
34
uses : onbjerg/foundry-toolchain@v1
60
35
with :
61
36
version : nightly
37
+ - name : Compile code (Hardhat)
38
+ run : yarn compile:force
39
+ - name : Run TypeScript/Waffle tests
40
+ run : yarn test
62
41
- name : Run Solidity/Forge tests
63
42
run : forge test
You can’t perform that action at this time.
0 commit comments