@elisra-devops/docgen-skins 0.3.3 → 0.3.4

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.
@@ -16,6 +16,3 @@ jobs:
16
16
  registry-url: https://registry.npmjs.org
17
17
  - run: npm install
18
18
  - run: npm run build
19
- env:
20
- ORG_URL: ${{secrets.AZDO_ORG_URL}}
21
- PAT: ${{secrets.AZDO_PAT}}
@@ -5,27 +5,41 @@ on:
5
5
  branches:
6
6
  - main
7
7
 
8
+ permissions:
9
+ contents: write
10
+ packages: write
11
+
8
12
  jobs:
9
13
  release:
10
14
  name: 🚀 publish
11
15
  runs-on: ubuntu-latest
16
+
12
17
  steps:
13
18
  - name: 📚 checkout
14
19
  uses: actions/checkout@v2
20
+
15
21
  - name: 🟢 node
16
22
  uses: actions/setup-node@v2
17
23
  with:
18
24
  node-version: 14
19
- registry-url: https://registry.npmjs.org
25
+
26
+ - name: Set up npm authentication
27
+ run: |
28
+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
29
+ echo "registry=https://registry.npmjs.org" >> ~/.npmrc
30
+
20
31
  - run: npm install
32
+
21
33
  - run: npm run build
22
- - name: "Automated Version Bump"
23
- uses: "phips28/gh-action-bump-version@master"
34
+
35
+ - name: 'Automated Version Bump'
36
+ uses: 'phips28/gh-action-bump-version@master'
24
37
  env:
25
38
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26
39
  with:
27
- commit-message: "CI: bumps version to {{version}} [skip ci]"
40
+ commit-message: 'CI: bumps version to {{version}} [skip ci]'
41
+
28
42
  - name: 🚀 publish
29
43
  run: npm publish --access public
30
44
  env:
31
- NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
45
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elisra-devops/docgen-skins",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Can be outputed in various types:",
5
5
  "main": "./bin/index.js",
6
6
  "types": "./bin/index.d.ts",