Migrate from page router to app router #69
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: Pull Request | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
project: [ui, server] | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
cache-dependency-path: ${{ matrix.project }}/package-lock.json | |
- name: Install dependencies | |
run: npm install | |
working-directory: ${{ matrix.project }} | |
- name: Run lint | |
run: npm run lint | |
working-directory: ${{ matrix.project }} | |
- name: Build | |
run: npm run build | |
env: | |
LANGTRACE_API_URL: "http://localhost:1994" | |
working-directory: ${{ matrix.project }} |