Move RequestEventLocals type definition into a namespace to make the retyping easier for users #1717
This file contains hidden or 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: 🧪 Typecheck | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
- release-* | |
tags-ignore: | |
- v* | |
pull_request: | |
branches: | |
- main | |
- dev | |
- release-* | |
jobs: | |
filter-changes: | |
runs-on: ubuntu-latest | |
outputs: | |
should_skip: ${{ steps.changes.outputs.landing_page }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Get changed files | |
id: changes | |
uses: dorny/paths-filter@v2 | |
with: | |
filters: | | |
landing_page: | |
- 'docs/**' | |
- "docs.root.tsx" | |
- "components/**" | |
- "**/README.md" | |
typecheck: | |
name: "👀 Typecheck" | |
needs: filter-changes | |
if: needs.filter-changes.outputs.should_skip != 'true' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: 👀 Typecheck | |
run: pnpm -r typecheck |