Skip to content

sync(bfmono): feat(gambit): add workbench composer chip and chat flow… #181

sync(bfmono): feat(gambit): add workbench composer chip and chat flow…

sync(bfmono): feat(gambit): add workbench composer chip and chat flow… #181

name: ci-gambit-core

Check failure on line 1 in .github/workflows/ci-gambit-core.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci-gambit-core.yml

Invalid workflow file

(Line: 35, Col: 16): Unrecognized named-value: 'github'. Located at position 1 within expression: github.workspace, (Line: 39, Col: 16): Unrecognized named-value: 'github'. Located at position 1 within expression: github.workspace, (Line: 44, Col: 16): Unrecognized named-value: 'github'. Located at position 1 within expression: github.workspace, (Line: 49, Col: 16): Unrecognized named-value: 'github'. Located at position 1 within expression: github.workspace, (Line: 54, Col: 16): Unrecognized named-value: 'github'. Located at position 1 within expression: github.workspace, (Line: 59, Col: 16): Unrecognized named-value: 'github'. Located at position 1 within expression: github.workspace
on:
push:
branches: ["main", "master"]
paths:
- packages/gambit-core/**
- deno.jsonc
- .github/workflows/ci-gambit-core.yml
pull_request:
branches: ["*"]
paths:
- packages/gambit-core/**
- deno.jsonc
- .github/workflows/ci-gambit-core.yml
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v13
- name: Register Deno problem matcher
run: echo '::add-matcher::.github/deno-problem-matcher.json'
- name: Guard bfmono imports
run: deno run -A scripts/guard-bfmono-imports.ts
shell: nix develop ${{ github.workspace }} --command bash -euo pipefail {0}
- name: Lint
run: deno lint
shell: nix develop ${{ github.workspace }} --command bash -euo pipefail {0}
working-directory: packages/gambit-core
- name: Format check
run: deno fmt --check
shell: nix develop ${{ github.workspace }} --command bash -euo pipefail {0}
working-directory: packages/gambit-core
- name: Type check
run: deno check --all mod.ts
shell: nix develop ${{ github.workspace }} --command bash -euo pipefail {0}
working-directory: packages/gambit-core
- name: Test
run: deno test --allow-all --unstable-worker-options
shell: nix develop ${{ github.workspace }} --command bash -euo pipefail {0}
working-directory: packages/gambit-core
- name: npm compatibility build
run: deno task ci:gambit-core:npm-compat
shell: nix develop ${{ github.workspace }} --command bash -euo pipefail {0}