From 1e71d253f95fad055e5574d85210b02de6bdc3bb Mon Sep 17 00:00:00 2001 From: mehdi Date: Tue, 19 Oct 2021 01:59:47 +0200 Subject: [PATCH] remove obsolete gitlab-ci.yml --- .gitlab-ci.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 558b895..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,35 +0,0 @@ -stages: - - test - - test-browser - - deploy - -image: node:14 - -before_script: - - echo "//registry.npmjs.org/:_authToken=${NPM_REGISTRY_TOKEN}" > .npmrc - - npm ci --cache .npm --prefer-offline - -cache: - key: "nedb" # universal cache - paths: - - .npm/ - -test: - stage: test - script: - - npm run lint - - npm run test - -test-browser: - image: nexus-docker.tardis.seald.io/seald/docker-browser-testing:CHROME_88 - stage: test-browser - script: npm run test:browser - -deploy: - stage: deploy - script: - - npm run prepublishOnly - - if (npx semver $CI_COMMIT_TAG --range '>0.0.0'); then NPM_TAG=latest; else NPM_TAG=beta; fi; # Using the fact that semver by default considers that pre-releases do not respect stable ranges - - npm publish --tag=$NPM_TAG --access public - only: - - tags