| 123456789101112131415161718192021222324252627282930313233343536 |
- name: test
- on:
- push:
- branches-ignore:
- - production
- pull_request:
- branches-ignore:
- - production
- workflow_dispatch:
- jobs:
- test:
- runs-on: blacksmith-4vcpu-ubuntu-2404
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
- - name: Setup Bun
- uses: ./.github/actions/setup-bun
- - name: run
- run: |
- git config --global user.email "[email protected]"
- git config --global user.name "opencode"
- bun turbo typecheck
- bun turbo test
- env:
- CI: true
- - name: Check SDK is up to date
- run: |
- bun ./packages/sdk/js/script/build.ts
- git diff --exit-code packages/sdk/js/src/gen packages/sdk/js/dist
- continue-on-error: false
|