Skip to content

maintenance page

maintenance page #15

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflows }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint - Typescript and ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
- uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # tag=v2.2.4
with:
version: 7.30.0 # renovate: datasource=npm depName=pnpm
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: npx turbo typecheck
- run: npx turbo lint
lint_prettier:
name: Lint - Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
- uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # tag=v2.2.4
with:
version: 7.30.0 # renovate: datasource=npm depName=pnpm
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: npx --no-install prettier --check "apps/web/src/**/*.{js,jsx,ts,tsx}"
build:
name: "Build (Apps & Packages)"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
- uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # tag=v2.2.4
with:
version: 7.30.0 # renovate: datasource=npm depName=pnpm
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm build
test:
name: "Test (unit, i9n, e2e)"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
instance: [1, 2, 3, 4, 5, 6]
env:
GH_INSTANCE_TOTAL: 6
steps:
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
- uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # tag=v2.2.4
with:
version: 7.30.0 # renovate: datasource=npm depName=pnpm
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm test
env:
GH_INSTANCE_INDEX: ${{ matrix.instance }}
test_hardhat:
name: "Test (Smart Contracts)"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
- uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # tag=v2.2.4
with:
version: 7.30.0 # renovate: datasource=npm depName=pnpm
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm test:hardhat