chore(deps): bump actions/cache from 5 to 6 #2690
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: TypeScript Type Check | |
| on: | |
| push: | |
| branches: [main, staging, develop, dev, hackathon] | |
| pull_request: | |
| branches: [main, staging, develop, dev, hackathon] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| typecheck: | |
| name: TypeScript Type Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2.2.0 | |
| with: | |
| bun-version: 1.1.38 | |
| - name: Install dependencies | |
| run: | | |
| for i in 1 2 3 4 5; do | |
| bun install --frozen-lockfile && break | |
| echo "Attempt $i failed, retrying in $((i * 15))s..." | |
| sleep $((i * 15)) | |
| done | |
| - name: Build packages in dependency order | |
| run: | | |
| cd packages/physx-js-webidl && bun run build | |
| cd ../decimation && bun run build | |
| cd ../shared && bun run build | |
| cd ../impostors && bun run build | |
| cd ../procgen && bun run build | |
| cd ../plugin-hyperia && bun run build | |
| - name: Type check shared package | |
| working-directory: packages/shared | |
| run: bunx tsc --noEmit | |
| - name: Type check server package | |
| working-directory: packages/server | |
| run: bunx tsc --noEmit | |
| - name: Type check client package | |
| working-directory: packages/client | |
| run: bunx tsc --noEmit | |
| - name: Type check plugin-hyperia package | |
| working-directory: packages/plugin-hyperia | |
| run: bunx tsc --noEmit |