Skip to content

Commit

Permalink
Merge pull request #2808 from NomicFoundation/speed-improvements-prer…
Browse files Browse the repository at this point in the history
…elease-workflow

Improve the speed of the pre-release workflow
  • Loading branch information
fvictorio authored Jun 8, 2022
2 parents 9e13570 + f292bc7 commit 18f11e4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Pre-release tests
on:
push:
branches: [pre-release-testing-branch]
workflow_dispatch:

env:
RUN_ETHERSCAN_TESTS: yes
Expand Down Expand Up @@ -30,7 +31,17 @@ jobs:
run: yarn build
- name: lint
run: yarn lint
- name: Cache artifacts
uses: actions/cache@v2
with:
path: |
packages/hardhat-core/test/internal/hardhat-network/stack-traces/test-files/**/artifacts
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') }}
- name: test
env:
DO_NOT_SET_THIS_ENV_VAR____IS_HARDHAT_CI: true
FORCE_COLOR: 3
NODE_OPTIONS: "--max-old-space-size=4096"
run: yarn test
- name: Check dependency versions
run: node scripts/check-dependencies.js

1 comment on commit 18f11e4

@vercel
Copy link

@vercel vercel bot commented on 18f11e4 Jun 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.