feat: upgrade all live-preview examples to react router v7 #15954
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: PR Checks | |
on: [pull_request] | |
jobs: | |
commit-lint: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.ref }}-commit-lint | |
cancel-in-progress: true | |
name: Commitlint | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: wagoid/commitlint-github-action@v5 | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- name: Install Dependencies | |
run: | | |
pnpm install -w | |
- name: lint | |
run: | | |
pnpm lint:ci | |
- name: syncpack | |
run: pnpm sp lint | |
build: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.ref }}-pr-build | |
cancel-in-progress: true | |
name: Build & Test | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- name: Install & Build | |
run: pnpm install | |
- name: Publint | |
run: pnpm publint:all | |
- name: Are The Types Wrong | |
run: pnpm attw:all | |
- name: Test | |
run: pnpm test:all --skip-nx-cache | |
tsdoc-check: | |
runs-on: ubuntu-latest | |
name: Check TSDoc Links | |
concurrency: | |
group: ${{ github.ref }}-tsdoc-check | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- name: Check TSDoc Links | |
run: npx tsdoc-link-check --patterns packages/** |