-
Notifications
You must be signed in to change notification settings - Fork 22
48 lines (38 loc) · 1.06 KB
/
lint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [lts/*]
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup node env
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: yarn
- name: Install dependencies
run: yarn install --immutable
- name: Run deploy contracts on Monad (& generate contracts typescript output)
env:
DEPLOYER_PRIVATE_KEY: ${{ secrets.KEY }}
MONAD_RPC_URL: ${{ secrets.URL }}
MONAD_CHAIN_ID: ${{ secrets.CHAIN_ID }}
MONAD_EXPLORER_URL: ${{ secrets.EXPLORER }}
run: yarn deploy --network monadTestnet
- name: Run nextjs lint
run: yarn next:lint --max-warnings=0
- name: Check typings on nextjs
run: yarn next:check-types
- name: Run hardhat lint
run: yarn hardhat:lint --max-warnings=0