Browse Source

chore: ci-cd trigger update

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3765/head
Raju Udava 2 years ago
parent
commit
c040cd0e7d
  1. 17
      .github/workflows/ci-cd.yml

17
.github/workflows/ci-cd.yml

@ -11,7 +11,7 @@ on:
- "packages/nocodb/**" - "packages/nocodb/**"
- ".github/workflows/ci-cd.yml" - ".github/workflows/ci-cd.yml"
pull_request: pull_request:
types: [ready_for_review] types: ['opened', 'edited', 'reopened', 'synchronize', 'ready_for_review']
branches: [develop] branches: [develop]
paths: paths:
- "packages/nc-gui/**" - "packages/nc-gui/**"
@ -20,6 +20,7 @@ on:
- ".github/workflows/ci-cd.yml" - ".github/workflows/ci-cd.yml"
jobs: jobs:
cypress-restTableOps-run-cache: cypress-restTableOps-run-cache:
if: ! github.event.pull_request.draft
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Setup Node - name: Setup Node
@ -64,6 +65,7 @@ jobs:
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
retention-days: 2 retention-days: 2
cypress-restViews-run-cache: cypress-restViews-run-cache:
if: ! github.event.pull_request.draft
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Setup Node - name: Setup Node
@ -108,6 +110,7 @@ jobs:
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
retention-days: 2 retention-days: 2
cypress-restRoles-run-cache: cypress-restRoles-run-cache:
if: ! github.event.pull_request.draft
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Setup Node - name: Setup Node
@ -152,6 +155,7 @@ jobs:
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
retention-days: 2 retention-days: 2
cypress-restMisc-run-cache: cypress-restMisc-run-cache:
if: ! github.event.pull_request.draft
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Setup Node - name: Setup Node
@ -196,6 +200,7 @@ jobs:
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
retention-days: 2 retention-days: 2
cypress-xcdb-restTableOps-run-cache: cypress-xcdb-restTableOps-run-cache:
if: ! github.event.pull_request.draft
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Setup Node - name: Setup Node
@ -240,6 +245,7 @@ jobs:
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
retention-days: 2 retention-days: 2
cypress-xcdb-restViews-run-cache: cypress-xcdb-restViews-run-cache:
if: ! github.event.pull_request.draft
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Setup Node - name: Setup Node
@ -284,6 +290,7 @@ jobs:
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
retention-days: 2 retention-days: 2
cypress-xcdb-restRoles-run-cache: cypress-xcdb-restRoles-run-cache:
if: ! github.event.pull_request.draft
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Setup Node - name: Setup Node
@ -328,6 +335,7 @@ jobs:
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
retention-days: 2 retention-days: 2
cypress-xcdb-restMisc-run-cache: cypress-xcdb-restMisc-run-cache:
if: ! github.event.pull_request.draft
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Setup Node - name: Setup Node
@ -372,6 +380,7 @@ jobs:
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
retention-days: 2 retention-days: 2
cypress-pg-restTableOps-run-cache: cypress-pg-restTableOps-run-cache:
if: ! github.event.pull_request.draft
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Setup Node - name: Setup Node
@ -416,6 +425,7 @@ jobs:
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
retention-days: 2 retention-days: 2
cypress-pg-restViews-run-cache: cypress-pg-restViews-run-cache:
if: ! github.event.pull_request.draft
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Setup Node - name: Setup Node
@ -460,6 +470,7 @@ jobs:
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
retention-days: 2 retention-days: 2
cypress-pg-restRoles-run-cache: cypress-pg-restRoles-run-cache:
if: ! github.event.pull_request.draft
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Setup Node - name: Setup Node
@ -504,6 +515,7 @@ jobs:
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
retention-days: 2 retention-days: 2
cypress-pg-restMisc-run-cache: cypress-pg-restMisc-run-cache:
if: ! github.event.pull_request.draft
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Setup Node - name: Setup Node
@ -548,6 +560,7 @@ jobs:
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
retention-days: 2 retention-days: 2
cy-quick-sqlite: cy-quick-sqlite:
if: ! github.event.pull_request.draft
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Setup Node - name: Setup Node
@ -593,6 +606,7 @@ jobs:
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
retention-days: 2 retention-days: 2
cy-quick-pg: cy-quick-pg:
if: ! github.event.pull_request.draft
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Setup Node - name: Setup Node
@ -637,6 +651,7 @@ jobs:
path: scripts/cypress/screenshots path: scripts/cypress/screenshots
retention-days: 2 retention-days: 2
unit-tests: unit-tests:
if: ! github.event.pull_request.draft
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Setup Node - name: Setup Node

Loading…
Cancel
Save