test.yml 539 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. format:
  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.2.21
  22. - name: run
  23. run: |
  24. bun install
  25. bun turbo test
  26. env:
  27. CI: true