@kohost/api-client 1.0.0-beta.1 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bitbucket-pipelines.yml +20 -4
- package/package.json +1 -1
package/bitbucket-pipelines.yml
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
image: node:16.17.1
|
|
2
2
|
|
|
3
3
|
pipelines:
|
|
4
|
+
custom:
|
|
5
|
+
publish-use-cases:
|
|
6
|
+
- step:
|
|
7
|
+
image: amazon/aws-cli
|
|
8
|
+
name: Fetch use cases
|
|
9
|
+
script:
|
|
10
|
+
## fetch use cases from s3
|
|
11
|
+
- aws s3 cp s3://cloud-v3-data/useCases/useCases-${USE_CASE_HASH}.json ./useCases/http.json
|
|
12
|
+
- npm install
|
|
13
|
+
- npm version prerelease --preid=beta -m "Upgrade to %s [skip ci]"
|
|
14
|
+
- git push && git push --tags
|
|
15
|
+
- pipe: atlassian/npm-publish:0.3.2
|
|
16
|
+
variables:
|
|
17
|
+
NPM_TOKEN: $NPM_TOKEN
|
|
18
|
+
EXTRA_ARGS: --tag next-v1
|
|
19
|
+
|
|
4
20
|
pull-requests:
|
|
5
21
|
"**":
|
|
6
22
|
- step:
|
|
@@ -8,7 +24,7 @@ pipelines:
|
|
|
8
24
|
caches:
|
|
9
25
|
- node
|
|
10
26
|
script:
|
|
11
|
-
- npm
|
|
27
|
+
- npm ci
|
|
12
28
|
branches:
|
|
13
29
|
master:
|
|
14
30
|
- step:
|
|
@@ -16,7 +32,7 @@ pipelines:
|
|
|
16
32
|
caches:
|
|
17
33
|
- node
|
|
18
34
|
script:
|
|
19
|
-
- npm
|
|
35
|
+
- npm ci
|
|
20
36
|
- pipe: atlassian/npm-publish:0.3.2
|
|
21
37
|
variables:
|
|
22
38
|
NPM_TOKEN: $NPM_TOKEN
|
|
@@ -26,7 +42,7 @@ pipelines:
|
|
|
26
42
|
caches:
|
|
27
43
|
- node
|
|
28
44
|
script:
|
|
29
|
-
- npm
|
|
45
|
+
- npm ci
|
|
30
46
|
- npm version prerelease --preid=beta -m "Upgrade to %s [skip ci]"
|
|
31
47
|
- git push && git push --tags
|
|
32
48
|
- pipe: atlassian/npm-publish:0.3.2
|
|
@@ -40,7 +56,7 @@ pipelines:
|
|
|
40
56
|
caches:
|
|
41
57
|
- node
|
|
42
58
|
script:
|
|
43
|
-
- npm
|
|
59
|
+
- npm ci
|
|
44
60
|
- npm version prerelease --preid=beta -m "Upgrade to %s [skip ci]"
|
|
45
61
|
- git push && git push --tags
|
|
46
62
|
- pipe: atlassian/npm-publish:0.3.2
|