Skip to content

feat: make smock work with the EDR-powered version of Hardhat (#195) #318

feat: make smock work with the EDR-powered version of Hardhat (#195)

feat: make smock work with the EDR-powered version of Hardhat (#195) #318

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
unit:
runs-on: ubuntu-latest
steps:
- name: Check out github repository
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install node
uses: actions/setup-node@v1
with:
node-version: "18.x"
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Run tests
run: yarn test