@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.
package/.github/workflows/ci.yml
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
23
|
-
|
|
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:
|
|
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 }}
|