Bug Fix: Pass Next server to tokenHandler to fix build issues with experimental-app-router #418
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: Experimental App Router Build & Test | |
on: | |
pull_request: | |
jobs: | |
experimental_app_router_build_test: | |
name: "Build and Test Experimental App Router on Node.js ${{ matrix.node }} ${{ matrix.os }}" | |
strategy: | |
matrix: | |
os: ['ubuntu-22.04'] | |
node: ['18', '20'] | |
permissions: | |
checks: write | |
pull-requests: write | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install | |
run: npm ci | |
- name: Build (Monorepo) | |
run: npm run build | |
- name: Build | |
run: npm run build | |
working-directory: packages/experimental-app-router | |
- name: Tests | |
run: npm run test | |
working-directory: packages/experimental-app-router |