Skip to content

Upgrade to latest hardhat versions #10

Upgrade to latest hardhat versions

Upgrade to latest hardhat versions #10

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:

Check failure on line 15 in .github/workflows/health.yml

View workflow run for this annotation

GitHub Actions / Project Health Check

Invalid workflow file

The workflow is not valid. .github/workflows/health.yml (Line: 15, Col: 14): Unexpected value ''
- 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