Skip to content

s

s #1191

Workflow file for this run

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