ci-app-prod.yml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. name: Node CI for app production
  2. on:
  3. push:
  4. branches:
  5. # - master
  6. - support/apply-nextjs-2
  7. paths:
  8. - .github/workflows/ci-app-prod.yml
  9. - .github/workflows/reusable-app-prod.yml
  10. - .github/workflows/reusable-app-reg-suit.yml
  11. - tsconfig.base.json
  12. - yarn.lock
  13. - packages/app/**
  14. - '!packages/app/docker/**'
  15. - packages/core/**
  16. - packages/slack/**
  17. - packages/ui/**
  18. - packages/plugin-**
  19. pull_request:
  20. branches:
  21. # - master
  22. - support/apply-nextjs-2
  23. types: [opened, reopened, synchronize]
  24. paths:
  25. - .github/workflows/ci-app-prod.yml
  26. - .github/workflows/reusable-app-prod.yml
  27. - .github/workflows/reusable-app-reg-suit.yml
  28. - tsconfig.base.json
  29. - yarn.lock
  30. - packages/app/**
  31. - '!packages/app/docker/**'
  32. - packages/core/**
  33. - packages/slack/**
  34. - packages/ui/**
  35. - packages/plugin-**
  36. jobs:
  37. test-prod-node14:
  38. # uses: weseek/growi/.github/workflows/reusable-app-prod.yml@support/master
  39. uses: weseek/growi/.github/workflows/reusable-app-prod.yml@support/apply-nextjs-2
  40. with:
  41. node-version: 14.x
  42. skip-cypress: true
  43. secrets:
  44. SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
  45. test-prod-node16:
  46. # uses: weseek/growi/.github/workflows/reusable-app-prod.yml@master
  47. uses: weseek/growi/.github/workflows/reusable-app-prod.yml@support/apply-nextjs-2
  48. with:
  49. node-version: 16.x
  50. # skip-cypress: ${{ contains( github.event.pull_request.labels.*.name, 'dependencies' ) && contains( github.event.pull_request.labels.*.name, 'github_actions' ) }}
  51. skip-cypress: true
  52. cypress-report-artifact-name: Cypress report
  53. secrets:
  54. SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
  55. # run-reg-suit-node16:
  56. # needs: [test-prod-node16]
  57. # uses: weseek/growi/.github/workflows/reusable-app-reg-suit.yml@master
  58. # if: always()
  59. # with:
  60. # node-version: 16.x
  61. # skip-reg-suit: ${{ contains( github.event.pull_request.labels.*.name, 'dependencies' ) && contains( github.event.pull_request.labels.*.name, 'github_actions' ) }}
  62. # cypress-report-artifact-name: Cypress report
  63. # secrets:
  64. # REG_NOTIFY_GITHUB_PLUGIN_CLIENTID: ${{ secrets.REG_NOTIFY_GITHUB_PLUGIN_CLIENTID }}
  65. # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
  66. # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
  67. # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}