| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- name: Node CI for app production
- on:
- push:
- branches:
- - master
- - dev/7.*.x
- paths:
- - .github/mergify.yml
- - .github/workflows/ci-app-prod.yml
- - .github/workflows/reusable-app-prod.yml
- - .github/workflows/reusable-app-reg-suit.yml
- - tsconfig.base.json
- - turbo.json
- - pnpm-lock.yaml
- - package.json
- - apps/app/**
- - '!apps/app/docker/**'
- - packages/**
- pull_request:
- types: [opened, reopened, synchronize]
- paths:
- - .github/mergify.yml
- - .github/workflows/ci-app-prod.yml
- - .github/workflows/reusable-app-prod.yml
- - .github/workflows/reusable-app-reg-suit.yml
- - tsconfig.base.json
- - pnpm-lock.yaml
- - turbo.json
- - package.json
- - apps/app/**
- - '!apps/app/docker/**'
- - packages/**
- concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
- jobs:
- test-prod-node20:
- uses: weseek/growi/.github/workflows/reusable-app-prod.yml@master
- if: |
- ( github.event_name == 'push'
- || github.base_ref == 'master'
- || github.base_ref == 'dev/7.*.x'
- || startsWith( github.base_ref, 'release/' )
- || startsWith( github.head_ref, 'mergify/merge-queue/' ))
- with:
- node-version: 20.x
- skip-e2e-test: true
- secrets:
- SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
- test-prod-node22:
- uses: weseek/growi/.github/workflows/reusable-app-prod.yml@master
- if: |
- ( github.event_name == 'push'
- || github.base_ref == 'master'
- || github.base_ref == 'dev/7.*.x'
- || startsWith( github.base_ref, 'release/' )
- || startsWith( github.head_ref, 'mergify/merge-queue/' ))
- with:
- node-version: 22.x
- skip-e2e-test: ${{ contains( github.event.pull_request.labels.*.name, 'dependencies' ) }}
- secrets:
- SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
- # run-reg-suit-node20:
- # needs: [test-prod-node20]
- # uses: weseek/growi/.github/workflows/reusable-app-reg-suit.yml@master
- # if: always()
- # with:
- # node-version: 20.x
- # skip-reg-suit: ${{ contains( github.event.pull_request.labels.*.name, 'dependencies' ) }}
- # 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 }}
|