|
@@ -3,8 +3,7 @@ name: Node CI for app production
|
|
|
on:
|
|
on:
|
|
|
push:
|
|
push:
|
|
|
branches:
|
|
branches:
|
|
|
- # - master
|
|
|
|
|
- - support/apply-nextjs-2
|
|
|
|
|
|
|
+ - master
|
|
|
paths:
|
|
paths:
|
|
|
- .github/workflows/ci-app-prod.yml
|
|
- .github/workflows/ci-app-prod.yml
|
|
|
- .github/workflows/reusable-app-prod.yml
|
|
- .github/workflows/reusable-app-prod.yml
|
|
@@ -21,8 +20,7 @@ on:
|
|
|
- packages/plugin-**
|
|
- packages/plugin-**
|
|
|
pull_request:
|
|
pull_request:
|
|
|
branches:
|
|
branches:
|
|
|
- # - master
|
|
|
|
|
- - support/apply-nextjs-2
|
|
|
|
|
|
|
+ - master
|
|
|
types: [opened, reopened, synchronize]
|
|
types: [opened, reopened, synchronize]
|
|
|
paths:
|
|
paths:
|
|
|
- .github/workflows/ci-app-prod.yml
|
|
- .github/workflows/ci-app-prod.yml
|
|
@@ -42,8 +40,7 @@ on:
|
|
|
jobs:
|
|
jobs:
|
|
|
|
|
|
|
|
test-prod-node14:
|
|
test-prod-node14:
|
|
|
- # uses: weseek/growi/.github/workflows/reusable-app-prod.yml@support/master
|
|
|
|
|
- uses: weseek/growi/.github/workflows/reusable-app-prod.yml@support/apply-nextjs-2
|
|
|
|
|
|
|
+ uses: weseek/growi/.github/workflows/reusable-app-prod.yml@support/master
|
|
|
with:
|
|
with:
|
|
|
node-version: 14.x
|
|
node-version: 14.x
|
|
|
skip-cypress: true
|
|
skip-cypress: true
|
|
@@ -52,8 +49,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
|
test-prod-node16:
|
|
test-prod-node16:
|
|
|
- # uses: weseek/growi/.github/workflows/reusable-app-prod.yml@master
|
|
|
|
|
- uses: weseek/growi/.github/workflows/reusable-app-prod.yml@support/apply-nextjs-2
|
|
|
|
|
|
|
+ uses: weseek/growi/.github/workflows/reusable-app-prod.yml@master
|
|
|
with:
|
|
with:
|
|
|
node-version: 16.x
|
|
node-version: 16.x
|
|
|
# skip-cypress: ${{ contains( github.event.pull_request.labels.*.name, 'dependencies' ) && contains( github.event.pull_request.labels.*.name, 'github_actions' ) }}
|
|
# skip-cypress: ${{ contains( github.event.pull_request.labels.*.name, 'dependencies' ) && contains( github.event.pull_request.labels.*.name, 'github_actions' ) }}
|
|
@@ -63,19 +59,19 @@ jobs:
|
|
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
|
|
|
|
|
|
|
|
|
|
|
- # run-reg-suit-node16:
|
|
|
|
|
- # needs: [test-prod-node16]
|
|
|
|
|
|
|
+ run-reg-suit-node16:
|
|
|
|
|
+ needs: [test-prod-node16]
|
|
|
|
|
|
|
|
- # uses: weseek/growi/.github/workflows/reusable-app-reg-suit.yml@master
|
|
|
|
|
|
|
+ uses: weseek/growi/.github/workflows/reusable-app-reg-suit.yml@master
|
|
|
|
|
|
|
|
- # if: always()
|
|
|
|
|
|
|
+ if: always()
|
|
|
|
|
|
|
|
- # with:
|
|
|
|
|
- # node-version: 16.x
|
|
|
|
|
- # skip-reg-suit: ${{ contains( github.event.pull_request.labels.*.name, 'dependencies' ) && contains( github.event.pull_request.labels.*.name, 'github_actions' ) }}
|
|
|
|
|
- # cypress-report-artifact-name: Cypress report
|
|
|
|
|
- # secrets:
|
|
|
|
|
- # REG_NOTIFY_GITHUB_PLUGIN_CLIENTID: ${{ secrets.REG_NOTIFY_GITHUB_PLUGIN_CLIENTID }}
|
|
|
|
|
- # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
|
|
|
- # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
|
|
|
- # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
|
|
|
|
|
+ with:
|
|
|
|
|
+ node-version: 16.x
|
|
|
|
|
+ skip-reg-suit: ${{ contains( github.event.pull_request.labels.*.name, 'dependencies' ) && contains( github.event.pull_request.labels.*.name, 'github_actions' ) }}
|
|
|
|
|
+ cypress-report-artifact-name: Cypress report
|
|
|
|
|
+ secrets:
|
|
|
|
|
+ REG_NOTIFY_GITHUB_PLUGIN_CLIENTID: ${{ secrets.REG_NOTIFY_GITHUB_PLUGIN_CLIENTID }}
|
|
|
|
|
+ AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
|
|
|
+ AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
|
|
|
+ SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|