test.yml 633 B

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