Skip to content

Add linting commands #15

Add linting commands

Add linting commands #15

Workflow file for this run

name: Test Suite
on:
pull_request:
branches: [main]
jobs:
test:
name: Smart Contract Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Environment
uses: actions/setup-node@v4
- name: Install Dependencies
run: |
cd smartbugs-curated/0.4.x
npm ci
- name: Run Tests
run: |
cd smartbugs-curated/0.4.x
npx hardhat test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
- name: Install dependencies
working-directory: smartbugs-curated/0.4.x
run: npm ci
- name: Run lint
working-directory: smartbugs-curated/0.4.x
run: npm run lint