Browse Source

chore: Updated github action

Signed-off-by: Pranav C Balan <pranavxc@gmail.com>
pull/293/head
Pranav C Balan 3 years ago
parent
commit
74bdd3e6d9
  1. 2
      .github/workflows/node.yml
  2. 15
      packages/nocodb/docker-compose.yml

2
.github/workflows/node.yml

@ -18,7 +18,7 @@ jobs:
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: docker run -p 8080:8080 -d --name xc-instant nocodb/nocodb:latest ; sleep 10
start: cd ./packages/nocodb/ && docker-compose run -d xc-cypress-test ; sleep 20
wait-on: 'http://localhost:8080/dashboard'
docker:

15
packages/nocodb/docker-compose.yml

@ -439,3 +439,18 @@ services:
cp /home/app/tests/sqlite-dump/sakila.db /home/sakila.db
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"#
cd /home/app/ && npm i && npm run test:graphql
xc-cypress-test:
image: node:12.22.1-slim
ports:
- 8080:8080
volumes:
- ./:/home/app
command:
- /bin/bash
- -c
- |
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
cd /home/app/ && npm i && npm run watch:run

Loading…
Cancel
Save