Skip to content

Implement Payment Settlement Smart Contract #3

Implement Payment Settlement Smart Contract

Implement Payment Settlement Smart Contract #3

name: Smart Contracts CI
on:
push:
branches:
- master
pull_request:
jobs:
hardhat:
strategy:
fail-fast: true
name: Hardhat project
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./contracts
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Node 16
uses: actions/setup-node@v3
cache-dependency-path: contracts/yarn.lock

Check failure on line 27 in .github/workflows/smart_contracts.yml

View workflow run for this annotation

GitHub Actions / Smart Contracts CI

Invalid workflow file

The workflow is not valid. .github/workflows/smart_contracts.yml (Line: 27, Col: 9): Unexpected value 'cache-dependency-path'
with:
node-version: "16.x"
cache: "npm"
- name: Install Node dependencies
run: |
yarn install
- name: Run Hardhat tests
run: |
yarn test
id: hardhat-test