Repository navigation
Parse the boot index of each module the first time a path in it is read #90
Workflow file for this run
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: test | |
| on: | |
| pull_request: | |
| push: | |
| branches: [master] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: test-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: pnpm/action-setup@v6 | |
| with: | |
| version: 12 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 26 | |
| cache: pnpm | |
| - uses: actions/cache@v6 | |
| with: | |
| # the downloads build-jdk.sh keeps; boot snapshots there stay out | |
| path: | | |
| ~/.cache/java-web/jdk-* | |
| ~/.cache/java-web/dejavu-* | |
| key: jdk-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('scripts/build-jdk.sh') }} | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm jdk | |
| - run: pnpm typecheck | |
| - run: pnpm test | |
| - run: pnpm build | |
| - name: Node entry on the built dist/ | |
| run: node --expose-gc --test test/image.test.ts | |
| # master only takes up-to-date pull requests, so this already ran on the merged code | |
| jtreg: | |
| if: github.event_name == 'pull_request' | |
| uses: ./.github/workflows/jtreg.yml |