Skip to content

feat: CI added

feat: CI added #2

Workflow file for this run

name: ci
concurrency:
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}'
cancel-in-progress: true
on:
push:
branches:
- master
- development
pull_request:
branches:
- master
- development
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Dependencies
run: yarn
- name: Compile Project
run: npx hardhat compile