update polyplus #134
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: "Check Bundles" | |
| on: | |
| pull_request: | |
| paths: | |
| - data/oneclient/bundles/.mrpacks/** | |
| push: | |
| paths: | |
| - data/oneclient/bundles/.mrpacks/** | |
| workflow_dispatch: | |
| jobs: | |
| CheckBundles: | |
| name: Check bundles are correctly formatted | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: "pnpm" | |
| - name: Install node dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Check bundles | |
| run: pnpm check | |
| CheckCompat: | |
| name: Check mod compatibility (fabric.mod.json) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: "pnpm" | |
| - name: Install node dependencies | |
| run: pnpm install --frozen-lockfile | |
| # Jars are keyed by immutable Modrinth version id, so cache them between runs. | |
| - name: Cache mod jars | |
| uses: actions/cache@v4 | |
| with: | |
| path: scripts/.cache/jars | |
| key: mod-jars-${{ hashFiles('data/oneclient/bundles/.mrpacks/**/*.pw.toml') }} | |
| restore-keys: | | |
| mod-jars- | |
| - name: Unit test version matcher | |
| run: pnpm test | |
| - name: Check compatibility | |
| run: pnpm check:compat |