@digital-ai/dot-illustrations 2.0.46 → 2.0.47
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/publish.yml +12 -12
- package/package.json +1 -1
|
@@ -9,8 +9,8 @@ on:
|
|
|
9
9
|
# OIDC token for npm Trusted Publishers (no NPM_TOKEN secret needed).
|
|
10
10
|
# contents: write is required for the version-bump commit and release creation.
|
|
11
11
|
permissions:
|
|
12
|
-
id-token: write
|
|
13
|
-
contents: write
|
|
12
|
+
id-token: write # Required for npm OIDC Trusted Publishing
|
|
13
|
+
contents: write # Required for version bump commit + GitHub release
|
|
14
14
|
|
|
15
15
|
jobs:
|
|
16
16
|
# https://github.com/marketplace/actions/automated-version-bump
|
|
@@ -22,10 +22,10 @@ jobs:
|
|
|
22
22
|
|
|
23
23
|
steps:
|
|
24
24
|
- name: Checkout code
|
|
25
|
-
uses: actions/checkout@
|
|
25
|
+
uses: actions/checkout@v6
|
|
26
26
|
|
|
27
27
|
- name: Setup Node.js
|
|
28
|
-
uses: actions/setup-node@
|
|
28
|
+
uses: actions/setup-node@v6
|
|
29
29
|
with:
|
|
30
30
|
node-version: 20
|
|
31
31
|
|
|
@@ -51,10 +51,10 @@ jobs:
|
|
|
51
51
|
|
|
52
52
|
steps:
|
|
53
53
|
- name: Checkout code
|
|
54
|
-
uses: actions/checkout@
|
|
54
|
+
uses: actions/checkout@v6
|
|
55
55
|
with:
|
|
56
|
-
fetch-depth: 0
|
|
57
|
-
ref:
|
|
56
|
+
fetch-depth: 0 # necessary to get newly created tag above
|
|
57
|
+
ref: "main"
|
|
58
58
|
|
|
59
59
|
- name: New Version
|
|
60
60
|
env:
|
|
@@ -64,7 +64,7 @@ jobs:
|
|
|
64
64
|
- name: Create tag and release
|
|
65
65
|
uses: ncipollo/release-action@v1
|
|
66
66
|
with:
|
|
67
|
-
commit:
|
|
67
|
+
commit: "main"
|
|
68
68
|
name: ${{ needs.bump-version.outputs.new-version }}
|
|
69
69
|
tag: ${{ needs.bump-version.outputs.new-version }}
|
|
70
70
|
|
|
@@ -77,18 +77,18 @@ jobs:
|
|
|
77
77
|
|
|
78
78
|
steps:
|
|
79
79
|
- name: Checkout code
|
|
80
|
-
uses: actions/checkout@
|
|
80
|
+
uses: actions/checkout@v6
|
|
81
81
|
with:
|
|
82
82
|
fetch-depth: 0
|
|
83
|
-
ref:
|
|
83
|
+
ref: "main"
|
|
84
84
|
|
|
85
85
|
# registry-url wires the OIDC token into .npmrc automatically —
|
|
86
86
|
# no NPM_TOKEN secret required.
|
|
87
87
|
- name: Setup Node.js
|
|
88
|
-
uses: actions/setup-node@
|
|
88
|
+
uses: actions/setup-node@v6
|
|
89
89
|
with:
|
|
90
90
|
node-version: 20
|
|
91
|
-
registry-url:
|
|
91
|
+
registry-url: "https://registry.npmjs.org"
|
|
92
92
|
|
|
93
93
|
- name: Update npm (≥ 11.5.1 required for OIDC)
|
|
94
94
|
run: npm install -g npm@11
|
package/package.json
CHANGED