|
|
|
@ -4,13 +4,14 @@
|
|
|
|
|
name: "CI/CD" |
|
|
|
|
on: |
|
|
|
|
push: |
|
|
|
|
branches: [master, cypress] |
|
|
|
|
paths: |
|
|
|
|
- "packages/nc-gui/**" |
|
|
|
|
- "scripts/cypress/**" |
|
|
|
|
- "packages/nocodb/**" |
|
|
|
|
- ".github/workflows/ci-cd.yml" |
|
|
|
|
pull_request: |
|
|
|
|
branches: [master, develop] |
|
|
|
|
branches: [master] |
|
|
|
|
paths: |
|
|
|
|
- "packages/nc-gui/**" |
|
|
|
|
- "scripts/cypress/**" |
|
|
|
@ -44,12 +45,6 @@ jobs:
|
|
|
|
|
${{ runner.os }}- |
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
@ -88,12 +83,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
@ -132,12 +121,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
@ -176,12 +159,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
@ -219,12 +196,6 @@ jobs:
|
|
|
|
|
${{ runner.os }}- |
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
@ -263,12 +234,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
@ -307,12 +272,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
@ -351,12 +310,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
@ -395,12 +348,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
@ -439,12 +386,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
@ -483,12 +424,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
@ -527,12 +462,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
@ -571,12 +500,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
@ -615,12 +538,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
@ -659,12 +576,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
@ -703,12 +614,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Set env |
|
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
|
- name: Upload screenshots |
|
|
|
|
uses: actions/upload-artifact@latest |
|
|
|
|
if: failure() |
|
|
|
|
with: |
|
|
|
|
name: cypress-snapshots |
|
|
|
|
path: cypress/snapshots |
|
|
|
|
- name: Cypress run |
|
|
|
|
uses: cypress-io/github-action@v2 |
|
|
|
|
with: |
|
|
|
|