test.yml 579 B

12345678910111213141516171819202122232425262728
  1. name: test
  2. on:
  3. push:
  4. branches:
  5. - dev
  6. pull_request:
  7. workflow_dispatch:
  8. jobs:
  9. test:
  10. runs-on: blacksmith-4vcpu-ubuntu-2404
  11. steps:
  12. - name: Checkout repository
  13. uses: actions/checkout@v4
  14. with:
  15. token: ${{ secrets.GITHUB_TOKEN }}
  16. - name: Setup Bun
  17. uses: ./.github/actions/setup-bun
  18. - name: run
  19. run: |
  20. git config --global user.email "[email protected]"
  21. git config --global user.name "opencode"
  22. bun turbo typecheck
  23. bun turbo test
  24. env:
  25. CI: true