Skip to content

Commit 0146f16

Browse files
ci: Adjusted workflows
1 parent 6fcf7db commit 0146f16

File tree

1 file changed

+5
-26
lines changed

1 file changed

+5
-26
lines changed

.github/workflows/tests.yaml

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,7 @@ on:
77
- master
88

99
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:
3611
runs-on: ubuntu-latest
3712
steps:
3813
- name: Checkout code
@@ -59,5 +34,9 @@ jobs:
5934
uses: onbjerg/foundry-toolchain@v1
6035
with:
6136
version: nightly
37+
- name: Compile code (Hardhat)
38+
run: yarn compile:force
39+
- name: Run TypeScript/Waffle tests
40+
run: yarn test
6241
- name: Run Solidity/Forge tests
6342
run: forge test

0 commit comments

Comments
 (0)