Browse Source

chore: install nocodb-sdk locally in CI/CD

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/1884/head
Pranav C 3 years ago
parent
commit
1327db90c3
  1. 12
      .github/workflows/ci-cd.yml
  2. 1
      package.json

12
.github/workflows/ci-cd.yml

@ -50,6 +50,7 @@ jobs:
with:
start: |
npm run build:common
npm run install:common
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d
@ -95,6 +96,7 @@ jobs:
with:
start: |
npm run build:common
npm run install:common
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d
@ -140,6 +142,7 @@ jobs:
with:
start: |
npm run build:common
npm run install:common
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d
@ -185,6 +188,7 @@ jobs:
with:
start: |
npm run build:common
npm run install:common
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d
@ -230,6 +234,7 @@ jobs:
with:
start: |
npm run build:common
npm run install:common
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
@ -275,6 +280,7 @@ jobs:
with:
start: |
npm run build:common
npm run install:common
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
@ -320,6 +326,7 @@ jobs:
with:
start: |
npm run build:common
npm run install:common
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
@ -365,6 +372,7 @@ jobs:
with:
start: |
npm run build:common
npm run install:common
npm run start:api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
@ -410,6 +418,7 @@ jobs:
with:
start: |
npm run build:common
npm run install:common
npm run start:xcdb-api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
@ -455,6 +464,7 @@ jobs:
with:
start: |
npm run build:common
npm run install:common
npm run start:xcdb-api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
@ -500,6 +510,7 @@ jobs:
with:
start: |
npm run build:common
npm run install:common
npm run start:xcdb-api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
@ -545,6 +556,7 @@ jobs:
with:
start: |
npm run build:common
npm run install:common
npm run start:xcdb-api:cache
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d

1
package.json

@ -14,6 +14,7 @@
},
"scripts": {
"build:common": "cd ./packages/nocodb-sdk; npm install; npm run build",
"install:common": "cd ./packages/nocodb; npm install ../nocodb-sdk; cd ../nc-gui; npm install ../nocodb-sdk",
"start:api": "cd ./packages/nocodb; npm install; NC_DISABLE_CACHE=true NC_DISABLE_TELE=true npm run watch:run:cypress",
"start:xcdb-api": "cd ./packages/nocodb; npm install; NC_DISABLE_CACHE=true NC_DISABLE_TELE=true NC_INFLECTION=camelize DATABASE_URL=sqlite:../../../scripts/cypress/fixtures/sqlite-sakila/sakila.db npm run watch:run:cypress",
"start:api:cache": "cd ./packages/nocodb; npm install; NC_DISABLE_TELE=true npm run watch:run:cypress",

Loading…
Cancel
Save