From aa67e2837ce9514397882e9fb3ce392a68bb32c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joonas=20Sepp=C3=A4?= <joasep@utu.fi> Date: Fri, 24 Jun 2022 06:28:48 +0300 Subject: [PATCH] CI-pipelinen korjausyritys 2 --- .gitlab-ci.yml | 7 +++++++ realNodeServer/.gitlab-ci.yml | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 .gitlab-ci.yml delete mode 100644 realNodeServer/.gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..617ec4c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,7 @@ +image: node:latest + +test: + stage: test + script: + - cd "$CI_PROJECT_DIR/realNodeServer" + npm test \ No newline at end of file diff --git a/realNodeServer/.gitlab-ci.yml b/realNodeServer/.gitlab-ci.yml deleted file mode 100644 index 39e666b..0000000 --- a/realNodeServer/.gitlab-ci.yml +++ /dev/null @@ -1,6 +0,0 @@ -image: node:latest - -test: - stage: test - script: - - npm test \ No newline at end of file -- GitLab