-
Notifications
You must be signed in to change notification settings - Fork 3
48 lines (48 loc) · 1.52 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
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/actions-yarn@v4.2.0
with:
cmd: install
dir: "renegade.fi"
- name: Eslint Check (renegade.fi)
uses: borales/actions-yarn@v4.2.0
with:
cmd: lint
dir: "renegade.fi"
- name: Type check (renegade.fi)
uses: borales/actions-yarn@v4.2.0
with:
cmd: typecheck
dir: "renegade.fi"
# - name: Eslint Check (docs.renegade.fi)
# uses: borales/actions-yarn@v4.2.0
# with:
# cmd: lint
# dir: "docs.renegade.fi"
- uses: borales/actions-yarn@v4.2.0
with:
cmd: install
dir: "trade.renegade.fi"
- name: Eslint Check (trade.renegade.fi)
uses: borales/actions-yarn@v4.2.0
with:
cmd: lint
dir: "trade.renegade.fi"
env:
NEXT_PUBLIC_RENEGADE_RELAYER_HOSTNAME: ${{ secrets.NEXT_PUBLIC_RENEGADE_RELAYER_HOSTNAME }}
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID }}
NEXT_PUBLIC_NODE_ENV: ${{ secrets.NEXT_PUBLIC_NODE_ENV }}
NEXT_PUBLIC_INTERCOM_APP_ID: ${{ secrets.NEXT_PUBLIC_INTERCOM_APP_ID }}
- name: Type check (trade.renegade.fi)
uses: borales/actions-yarn@v4.2.0
with:
cmd: typecheck
dir: "trade.renegade.fi"