feat: support nextjs in v4 #4161
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: Pre Check | |
on: | |
push: | |
branches: [v4-next] | |
paths-ignore: | |
- 'site/**' | |
- '*.md' | |
pull_request: | |
paths-ignore: | |
- 'site/**' | |
- '*.md' | |
jobs: | |
lintAndTestLegacy: | |
timeout-minutes: 60 | |
strategy: | |
matrix: | |
node-version: ['lts/*'] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
run_install: false | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm build --if-present | |
- run: pnpm lint | |
- run: pnpm lint:cycle |