@kno2/bluebutton 0.6.0 → 0.6.1
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.
|
@@ -5,26 +5,8 @@ on:
|
|
|
5
5
|
types: [published]
|
|
6
6
|
|
|
7
7
|
jobs:
|
|
8
|
-
version:
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
steps:
|
|
11
|
-
- name: Set Result
|
|
12
|
-
uses: actions/github-script@v3
|
|
13
|
-
id: set-result
|
|
14
|
-
with:
|
|
15
|
-
script: return context.ref.replace('/refs/tags/', '')
|
|
16
|
-
result-encoding: string
|
|
17
|
-
- name: Set Version
|
|
18
|
-
uses: |
|
|
19
|
-
actions/checkout@v2
|
|
20
|
-
actions/setup-node@v2
|
|
21
|
-
with:
|
|
22
|
-
node-version: '14.x'
|
|
23
|
-
- run: npm version --no-git-tag-version "${{steps.set-result.outputs.result}}"
|
|
24
|
-
|
|
25
8
|
build:
|
|
26
|
-
|
|
27
|
-
runs-on: ubuntu-latest
|
|
9
|
+
runs-on: windows-latest
|
|
28
10
|
steps:
|
|
29
11
|
- uses: actions/checkout@v2
|
|
30
12
|
- uses: actions/setup-node@v2
|
|
@@ -32,16 +14,23 @@ jobs:
|
|
|
32
14
|
node-version: '14.x'
|
|
33
15
|
- run: npm ci
|
|
34
16
|
|
|
35
|
-
|
|
17
|
+
npm:
|
|
36
18
|
needs: build
|
|
37
|
-
runs-on:
|
|
19
|
+
runs-on: windows-latest
|
|
38
20
|
steps:
|
|
39
21
|
- uses: actions/checkout@v2
|
|
40
22
|
- uses: actions/setup-node@v2
|
|
41
23
|
with:
|
|
42
24
|
node-version: '14.x'
|
|
43
25
|
registry-url: https://registry.npmjs.org/
|
|
26
|
+
- name: Set Git Version
|
|
27
|
+
id: set-git-version
|
|
28
|
+
uses: actions/github-script@v3
|
|
29
|
+
with:
|
|
30
|
+
script: return context.ref.replace(/refs\/tags\//, '')
|
|
31
|
+
result-encoding: string
|
|
44
32
|
- run: npm ci
|
|
33
|
+
- run: npm version --new-version ${{steps.set-git-version.outputs.result}} --no-git-tag-version
|
|
45
34
|
- run: npm publish
|
|
46
35
|
env:
|
|
47
36
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|