add glama.json for Glama server claim #9
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: | |
| branches: [main] | |
| env: | |
| TYPST_VERSION: "0.14.2" | |
| TYPST_LINUX_X64_SHA256: "a6044cbad2a954deb921167e257e120ac0a16b20339ec01121194ff9d394996d" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| - name: Install Typst | |
| run: | | |
| curl -fsSL -o typst.tar.xz "https://github.com/typst/typst/releases/download/v${TYPST_VERSION}/typst-x86_64-unknown-linux-musl.tar.xz" | |
| echo "${TYPST_LINUX_X64_SHA256} typst.tar.xz" | sha256sum -c - | |
| tar -xJf typst.tar.xz | |
| sudo mv typst-x86_64-unknown-linux-musl/typst /usr/local/bin/typst | |
| typst --version | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Dependency audit | |
| run: npm audit --audit-level=moderate | |
| - name: Verify Typst version pin | |
| run: node scripts/check-typst-version.mjs | |
| - name: Template schema/sample sync | |
| run: node scripts/check-template-sync.mjs | |
| - name: Vendored offline package check | |
| run: node scripts/check-vendored-packages.mjs | |
| - name: Lint | |
| run: npm run lint | |
| - name: Script syntax check | |
| run: npm run check:scripts | |
| - name: Format check | |
| run: npm run format:check | |
| - name: Build | |
| run: npm run build | |
| - name: Unit & integration tests | |
| run: npm test | |
| - name: Forge smoke | |
| run: npm run forge:smoke | |
| - name: Visual regression | |
| run: npm run test:visual | |
| - name: Package contents check | |
| run: npm run pack:check | |
| - name: Docker build | |
| run: docker build --build-arg TYPST_SHA256="${TYPST_LINUX_X64_SHA256}" -t forge-ci . |