Sale end resolve -M11 #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test & Build Next.js App | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main, beta, production, next] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
uses: ./.github/actions/pnpm-install | |
- name: Run Lint | |
run: pnpm run lint | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
uses: ./.github/actions/pnpm-install | |
- name: Build the project | |
env: | |
NEXT_PUBLIC_DEFAULT_CHAIN: rococo-coretime | |
NEXT_PUBLIC_RELAY_CHAIN: rococo | |
NEXT_PUBLIC_SUPPORTED_CHAINS: '[{"coretime": "westend-coretime", "relay": "westend"}, {"coretime": "polkadot", "relay": "polkadot"}, {"coretime": "kusama", "relay": "kusama"}, {"coretime": "rococo-coretime", "relay": "rococo"}]' | |
run: pnpm run build |