Skip to content

Commit

Permalink
Merge pull request #24 from jitesoft/develop
Browse files Browse the repository at this point in the history
Updated packages and cleaned up ci scripts.
  • Loading branch information
Johannestegner authored Jan 15, 2020
2 parents d636cc8 + 6dea362 commit 034158f
Show file tree
Hide file tree
Showing 3 changed files with 2,040 additions and 361 deletions.
29 changes: 6 additions & 23 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,18 @@
include:
- https://gitlab.com/jitesoft/gitlab-ci-lib/raw/master/dependency_scanning.yml
- https://gitlab.com/jitesoft/gitlab-ci-lib/raw/master/js_common.yml

stages:
- test
- deploy

test:
stage: test
image: jitesoft/node:latest
variables:
NODE_ENV: development
BLUEBIRD_DEBUG: 0
before_script:
- npm ci
script:
- npm run test
extends: .npm:test

deploy:
stage: deploy
image: jitesoft/node:latest
extends: .npm:build:deploy
variables:
NODE_ENV: development
before_script:
- npm ci
script:
- npm run build:prod
- npm version ${CI_COMMIT_TAG}
- npm publish --access public
only:
- tags
tags: [ jitesoft, protected, npm ]

include:
- https://gitlab.com/jitesoft/gitlab-ci-lib/raw/master/dependency_scanning.yml

scan:
extends: .scan:npm
Loading

0 comments on commit 034158f

Please sign in to comment.