Skip to content

Merge pull request #7 from P4-Games/feature/github-actions #3

Merge pull request #7 from P4-Games/feature/github-actions

Merge pull request #7 from P4-Games/feature/github-actions #3

Workflow file for this run

name: tests
on:
push:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm install --no-warnings
- name: Compile contracts
run: npx hardhat compile
- name: Test deploy harhat
run: npx hardhat node & npx hardhat run --network hardhat scripts/deploy.ts
- name: Run tests
run: npx hardhat test