Skip to content

Upgrade to latest hardhat versions #13

Upgrade to latest hardhat versions

Upgrade to latest hardhat versions #13

Workflow file for this run

name: Project Health Check
on:
pull_request:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
with:
node-version: 18
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: cache-deps
with:
path: node_modules
key: ${{ runner.os }}-node${{ matrix.code }}-${{ hashFiles('**/package-lock.json') }}
- name: Run build
run: |
npm install
npm run build
test:
name: Unit Test
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
with:
node-version: 18
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: cache-deps
with:
path: node_modules
key: ${{ runner.os }}-node${{ matrix.code }}-${{ hashFiles('**/package-lock.json') }}
- name: Run test
run: |
npm install
npm run test
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
with:
node-version: 18
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: cache-deps
with:
path: node_modules
key: ${{ runner.os }}-node12-${{ hashFiles('**/package-lock.json') }}
- name: lint
run: |
npm install
npm run lint