Adding hardhat-keystore #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Tests runner | |
on: | |
pull_request: | |
jobs: | |
tests: | |
name: JS tests | |
runs-on: ubuntu-latest | |
env: | |
ALCHEMY_TOKEN: not-so-secret-token | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Install node | |
uses: actions/setup-node@v3 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- name: Generate typechain | |
env: | |
SKIP_TYPECHAIN: true | |
run: pnpm exec hardhat typechain | |
- name: Install dependencies | |
run: pnpm install | |
- name: Generate typechain | |
env: | |
SKIP_TYPECHAIN: true | |
run: pnpm exec hardhat typechain | |
- name: Run unit tests | |
run: pnpm run test |