CAPAUT-253 Fix labels, extend readme, add pipeline

This commit is contained in:
2022-07-27 17:24:44 +02:00
parent b9d5773552
commit 1e4d215a7d
3 changed files with 40 additions and 3 deletions

30
bitbucket-pipelines.yml Normal file
View File

@@ -0,0 +1,30 @@
image: node:16
definitions:
steps:
# Build nodes
- step: &step-build-nodes
name: Build
caches:
- node
script:
- npm install
- npm test
# Publish node
- step: &step-publish-nodes
name: Publish Nodes
script:
- pipe: atlassian/npm-publish:0.3.2
variables:
NPM_TOKEN: $CAPTICA_NPM_TOKEN
FOLDER: './'
EXTRA_ARGS: '--access public'
pipelines:
default:
- step: *step-build-nodes
tags:
v*:
- step: *step-build-nodes
- step: *step-publish-nodes