Skip to content

Add slither to CI - Close #AM-1125 (#17) #66

Add slither to CI - Close #AM-1125 (#17)

Add slither to CI - Close #AM-1125 (#17) #66

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches: [dev, master, main, wrapped-assets]
pull_request:
branches: [dev, master, main, wrapped-assets]
env:
MAINNET_NODE: ${{ secrets.MAINNET_NODE }}
GOERLI_NODE: ${{ secrets.GOERLI_NODE }}
POLYGON_NODE: ${{ secrets.POLYGON_NODE }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
PRIVATE_KEY: ${{ secrets.DUMMY_PK }}
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Setup NodeJS 18
uses: actions/setup-node@v2
with:
node-version: 18.16.0
- name: Show NodeJS version
run: npm --version
- name: Install Project Dependencies
run: npm install
- name: Run Hardhat Tests
run: npx hardhat coverage