Repository navigation
Add scale option in MeTTaGrapher #88
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| build-test: | |
| 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 build # build first so cross-package type declarations resolve | |
| - run: pnpm lint | |
| - run: pnpm format:check | |
| - run: pnpm typecheck | |
| - run: pnpm test # includes the 270/270 Hyperon oracle gate | |
| # The site build is where the documentation's TypeScript examples are compiled, by twoslash, against | |
| # packages/*/src. Until now it ran only on a push to main, so an example that no longer matched the | |
| # API was found after merging rather than on the branch that broke it. It also catches the two ways | |
| # the docs build has broken before: a dependency the subset build could not resolve, and prose that | |
| # Vue parsed as a template tag. | |
| - run: pnpm --filter @metta-ts/website docs:build |