File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Pre-release tests
3
3
on :
4
4
push :
5
5
branches : [pre-release-testing-branch]
6
+ workflow_dispatch :
6
7
7
8
env :
8
9
RUN_ETHERSCAN_TESTS : yes
30
31
run : yarn build
31
32
- name : lint
32
33
run : yarn lint
34
+ - name : Cache artifacts
35
+ uses : actions/cache@v2
36
+ with :
37
+ path : |
38
+ packages/hardhat-core/test/internal/hardhat-network/stack-traces/test-files/**/artifacts
39
+ key : hardhat-network-stack-traces-tests-${{ hashFiles('yarn.lock') }}-${{ hashFiles('packages/hardhat-core/test/internal/hardhat-network/stack-traces/test-files/**/*.sol') }}-${{ hashFiles('packages/hardhat-core/test/internal/hardhat-network/stack-traces/test-files/**/test.json') }}-${{ hashFiles('packages/hardhat-core/test/internal/hardhat-network/stack-traces/**/*.ts') }}
33
40
- name : test
41
+ env :
42
+ DO_NOT_SET_THIS_ENV_VAR____IS_HARDHAT_CI : true
43
+ FORCE_COLOR : 3
44
+ NODE_OPTIONS : " --max-old-space-size=4096"
34
45
run : yarn test
35
46
- name : Check dependency versions
36
47
run : node scripts/check-dependencies.js
You can’t perform that action at this time.
0 commit comments