Fix openlaszlo doc paths and add link checker script. #37
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
| # Lightweight checks on push/PR — no Emscripten, no GitHub Pages deploy. | |
| # The live demo at https://micropolisweb.com/ is unchanged by pushes to main. | |
| # Publish only via: Actions → "Build Wasm Library with Emscripten" → deploy_to_pages ✓ | |
| name: PR Checks | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| structure: | |
| name: Monorepo structure | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm run verify:structure | |
| build-ts: | |
| name: TypeScript builds (vitamoo / mooshow / vitamoospace) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm --filter vitamoo run build | |
| - run: pnpm --filter mooshow run build | |
| - run: pnpm --filter vitamoospace run build | |
| check-micropolis: | |
| name: Micropolis svelte-check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm --filter micropolis run check | |
| test: | |
| name: Tests (sims-io, mooshow, Micropolis WASM) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm --filter vitamoo run build | |
| - run: pnpm --filter mooshow run build | |
| - run: pnpm --filter mooshow run test | |
| - run: pnpm --filter @micropolis/sims-io run build | |
| - run: pnpm --filter @micropolis/sims-io run test | |
| - run: pnpm --filter micropolis run test |