Feature/bridge #386
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 | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Build & Test > Next Template | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
NEXT_PUBLIC_ALCHEMY_API_KEY: ${{ secrets.NEXT_PUBLIC_ALCHEMY_API_KEY }} | |
NEXT_PUBLIC_INFURA_API_KEY: ${{ secrets.NEXT_PUBLIC_INFURA_API_KEY }} | |
I18NEXUS_PRE_BUILD: 'true' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8.6.5 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install --prefer-offline --frozen-lockfile | |
env: | |
I18NEXUS_API_KEY: ${{ secrets.I18NEXUS_API_KEY }} | |
- name: Build | |
run: pnpm --filter=mantle-converter --filter=mantle-bridge --filter=mantle-faucet --filter=mantle-token-graph --filter=mantle-token-sync build | |
- name: Install Playwright | |
run: pnpx playwright@1.29.2 install chromium --with-deps | |
- name: Run Playwright tests | |
run: pnpm run ci:template |