test.yml 646 B

1234567891011121314151617181920212223242526272829303132
  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: ubuntu-latest
  13. steps:
  14. - name: Checkout repository
  15. uses: actions/checkout@v4
  16. with:
  17. token: ${{ secrets.GITHUB_TOKEN }}
  18. - name: Setup Bun
  19. uses: oven-sh/setup-bun@v1
  20. with:
  21. bun-version: 1.3.0
  22. - name: run
  23. run: |
  24. git config --global user.email "[email protected]"
  25. git config --global user.name "opencode"
  26. bun install
  27. bun turbo test
  28. env:
  29. CI: true