-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (52 loc) · 2.02 KB
/
eslint.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
49
50
51
52
name: Eslint
on: [push]
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: borales/[email protected]
with:
cmd: install
dir: "renegade.fi"
- name: Eslint Check (renegade.fi)
uses: borales/[email protected]
with:
cmd: lint
dir: "renegade.fi"
- name: Type check (renegade.fi)
uses: borales/[email protected]
with:
cmd: typecheck
dir: "renegade.fi"
# - name: Eslint Check (docs.renegade.fi)
# uses: borales/[email protected]
# with:
# cmd: lint
# dir: "docs.renegade.fi"
- uses: actions/checkout@v2
- uses: pnpm/[email protected]
with:
version: latest
- run: pnpm install --no-frozen-lockfile
working-directory: ./trade.renegade.fi
- name: Eslint Check (trade.renegade.fi)
run: pnpm lint
working-directory: ./trade.renegade.fi
env:
NEXT_PUBLIC_DARKPOOL_CONTRACT: ${{ secrets.NEXT_PUBLIC_DARKPOOL_CONTRACT }}
NEXT_PUBLIC_DATADOG_APPLICATION_ID: ${{ secrets.NEXT_PUBLIC_DATADOG_APPLICATION_ID }}
NEXT_PUBLIC_DATADOG_CLIENT_TOKEN: ${{ secrets.NEXT_PUBLIC_DATADOG_CLIENT_TOKEN }}
NEXT_PUBLIC_INTERCOM_APP_ID: ${{ secrets.NEXT_PUBLIC_INTERCOM_APP_ID }}
NEXT_PUBLIC_PERMIT2_CONTRACT: ${{ secrets.NEXT_PUBLIC_PERMIT2_CONTRACT }}
NEXT_PUBLIC_PRICE_REPORTER_URL: ${{ secrets.NEXT_PUBLIC_PRICE_REPORTER_URL }}
NEXT_PUBLIC_RENEGADE_RELAYER_HOSTNAME: ${{ secrets.NEXT_PUBLIC_RENEGADE_RELAYER_HOSTNAME }}
NEXT_PUBLIC_RPC_URL: ${{ secrets.NEXT_PUBLIC_RPC_URL }}
NEXT_PUBLIC_URL: ${{ secrets.NEXT_PUBLIC_URL }}
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID }}
- name: Type check (trade.renegade.fi)
run: pnpm typecheck
working-directory: ./trade.renegade.fi