Repository navigation
fix: use file:// URL when importing server entry in vite preview (#2182) #2948
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 | |
| - 1.x | |
| - dev | |
| - release-* | |
| tags-ignore: | |
| - v* | |
| pull_request: | |
| branches: | |
| - main | |
| - 1.x | |
| - 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 | |
| - name: Use Node.js from .nvmrc | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".nvmrc" | |
| registry-url: "https://registry.npmjs.org" | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: 👀 Typecheck | |
| run: pnpm -r typecheck |