ci-app-prod.yml 1.8 KB

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