| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- name: Node CI for app production
- on:
- push:
- branches:
- - master
- - dev/7.*.x
- - dev/6.*.x
- paths:
- - .github/workflows/ci-app-prod.yml
- - .github/workflows/reusable-app-prod.yml
- - .github/workflows/reusable-app-reg-suit.yml
- - tsconfig.base.json
- - turbo.json
- - yarn.lock
- - package.json
- - apps/app/**
- - '!apps/app/docker/**'
- - packages/**
- pull_request:
- branches:
- - master
- - dev/7.*.x
- - dev/6.*.x
- types: [opened, reopened, synchronize]
- paths:
- - .github/workflows/ci-app-prod.yml
- - .github/workflows/reusable-app-prod.yml
- - .github/workflows/reusable-app-reg-suit.yml
- - tsconfig.base.json
- - yarn.lock
- - turbo.json
- - package.json
- - apps/app/**
- - '!apps/app/docker/**'
- - packages/**
- workflow_call:
- inputs:
- cypress-config-video:
- description: 'Enable video when running Cypress test'
- type: boolean
- default: false
- concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
- jobs:
- test-prod-node18:
- uses: weseek/growi/.github/workflows/reusable-app-prod.yml@support/add-test-for-installer
- with:
- node-version: 18.x
- skip-e2e-test: true
- secrets:
- SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
- test-prod-node20:
- uses: weseek/growi/.github/workflows/reusable-app-prod.yml@support/add-test-for-installer
- with:
- node-version: 20.x
- skip-e2e-test: ${{ contains( github.event.pull_request.labels.*.name, 'dependencies' ) }}
- cypress-report-artifact-name-prefix: cypress-report-
- cypress-config-video: ${{ inputs.cypress-config-video || false }}
- 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' ) }}
- cypress-report-artifact-name-pattern: 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 }}
|