UNPKG

@robotti.io/escrypt

Version:

Enterprise Secret Encryptor

40 lines (33 loc) 698 B
image: node:latest stages: - test - deploy package:test: stage: test coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/ script: - npm install - npm test artifacts: when: always reports: coverage_report: coverage_format: cobertura path: coverage/cobertura-coverage.xml junit: - junit.xml sast: stage: test include: - template: Security/SAST.gitlab-ci.yml production:deploy: stage: deploy image: node:latest rules: - if: '$CI_COMMIT_BRANCH == "production"' when: always - when: never script: - echo '//registry.npmjs.org/:_authToken=${NPM_KEY}' > .npmrc - npm whoami - npm publish --access public