diff --git a/.drone.yml b/.drone.yml index 197911f..cdb3ee9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,21 +15,20 @@ steps: - cd server && npm test; cd .. -#kind: pipeline -#type: kubernetes -#name: front-end -# -#steps: -#- name: install dependencies -# image: node -# commands: -# - npm install -# - cd client && npm install; cd .. -# -#- name: front-end build -# image: node -# commands: -# - cd client && npm run-script build; cd .. -# -#--- -# \ No newline at end of file +kind: pipeline +type: kubernetes +name: front-end + +steps: +- name: install dependencies + image: node + commands: + - npm install + - cd client && npm install; cd .. + +- name: front-end compile + image: node + commands: + - cd client && ./node_modules/.bin/tsc; cd .. + +--- diff --git a/ci/postgres_node/Dockerfile b/ci/postgres_node/Dockerfile new file mode 100644 index 0000000..539b24c --- /dev/null +++ b/ci/postgres_node/Dockerfile @@ -0,0 +1,8 @@ +# Note: this Dockerfile is written to be executed with the whole source +# as its context. + +FROM postgres:12 + +# Install node.js +RUN apt update -y && apt install -y npm +