ci-app-prod.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. name: Node CI for app production
  2. on:
  3. push:
  4. branches:
  5. - master
  6. - dev/7.*.x
  7. paths:
  8. - .github/mergify.yml
  9. - .github/workflows/ci-app-prod.yml
  10. - .github/workflows/reusable-app-prod.yml
  11. - .github/workflows/reusable-app-reg-suit.yml
  12. - tsconfig.base.json
  13. - turbo.json
  14. - pnpm-lock.yaml
  15. - package.json
  16. - apps/app/**
  17. - '!apps/app/docker/**'
  18. - packages/**
  19. pull_request:
  20. types: [opened, reopened, synchronize]
  21. paths:
  22. - .github/mergify.yml
  23. - .github/workflows/ci-app-prod.yml
  24. - .github/workflows/reusable-app-prod.yml
  25. - .github/workflows/reusable-app-reg-suit.yml
  26. - tsconfig.base.json
  27. - pnpm-lock.yaml
  28. - turbo.json
  29. - package.json
  30. - apps/app/**
  31. - '!apps/app/docker/**'
  32. - packages/**
  33. concurrency:
  34. group: ${{ github.workflow }}-${{ github.ref }}
  35. cancel-in-progress: true
  36. jobs:
  37. # test-prod-node22:
  38. # uses: growilabs/growi/.github/workflows/reusable-app-prod.yml@dev/7.5.x
  39. # if: |
  40. # ( github.event_name == 'push'
  41. # || github.base_ref == 'master'
  42. # || github.base_ref == 'dev/7.*.x'
  43. # || startsWith( github.base_ref, 'release/' )
  44. # || startsWith( github.head_ref, 'mergify/merge-queue/' ))
  45. # with:
  46. # node-version: 22.x
  47. # skip-e2e-test: true
  48. # secrets:
  49. # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
  50. test-prod-node24:
  51. uses: growilabs/growi/.github/workflows/reusable-app-prod.yml@dev/7.5.x
  52. if: |
  53. ( github.event_name == 'push'
  54. || github.base_ref == 'master'
  55. || github.base_ref == 'dev/7.*.x'
  56. || startsWith( github.base_ref, 'release/' )
  57. || startsWith( github.head_ref, 'mergify/merge-queue/' ))
  58. with:
  59. node-version: 24.x
  60. skip-e2e-test: ${{ contains( github.event.pull_request.labels.*.name, 'dependencies' ) }}
  61. secrets:
  62. SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}