Skip to content

Merge pull request #1 from itxtoledo/feat/new-contracts-v1 #10

Merge pull request #1 from itxtoledo/feat/new-contracts-v1

Merge pull request #1 from itxtoledo/feat/new-contracts-v1 #10

Workflow file for this run

name: Contracts CI
on:
push:
branches: [ main ]
paths:
- 'contracts/**'
pull_request:
branches: [ main ]
paths:
- 'contracts/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup NodeJS 20.14.0
uses: actions/setup-node@v2
with:
node-version: 20.14.0
cache-dependency-path: "contracts"
- name: Show NodeJS version
run: cd contracts && npm --version
- name: Install Hardhat
run: cd contracts && npm install --save-dev [email protected]
- name: Install Hardhat Dependencies
run: cd contracts && npm ci
- name: Run Hardhat Test
run: cd contracts && npx hardhat test