@gowri48/npmpublish 1.4.1 → 1.4.3
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.
|
@@ -14,26 +14,22 @@ jobs:
|
|
|
14
14
|
- name: Checkout package to publish
|
|
15
15
|
uses: actions/checkout@v4
|
|
16
16
|
with:
|
|
17
|
-
path: package
|
|
17
|
+
path: package
|
|
18
18
|
|
|
19
19
|
- name: Checkout custom npm-cli fork (for logging)
|
|
20
20
|
uses: actions/checkout@v4
|
|
21
21
|
with:
|
|
22
22
|
repository: chiranjib-swain/npm-cli
|
|
23
23
|
ref: envReplace
|
|
24
|
-
path: npm-cli
|
|
24
|
+
path: npm-cli
|
|
25
25
|
|
|
26
26
|
- name: Set up Node.js 24 with registry-url
|
|
27
|
-
uses: actions/setup-node@
|
|
27
|
+
uses: actions/setup-node@v6
|
|
28
28
|
with:
|
|
29
29
|
node-version: '24'
|
|
30
30
|
registry-url: 'https://npm.pkg.github.com'
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
run: |
|
|
34
|
-
cd npm-cli
|
|
35
|
-
npm install
|
|
36
|
-
npm install -g . # Link the custom npm CLI globally
|
|
32
|
+
|
|
37
33
|
- name: Show environment state before publish
|
|
38
34
|
run: |
|
|
39
35
|
echo "=== Token State ==="
|
|
@@ -46,6 +42,7 @@ jobs:
|
|
|
46
42
|
echo "=== OIDC Env Vars ==="
|
|
47
43
|
echo "ACTIONS_ID_TOKEN_REQUEST_URL=${ACTIONS_ID_TOKEN_REQUEST_URL:-(not set)}"
|
|
48
44
|
echo "ACTIONS_ID_TOKEN_REQUEST_TOKEN=${ACTIONS_ID_TOKEN_REQUEST_TOKEN:-(not set)}"
|
|
45
|
+
|
|
49
46
|
- name: Run npm publish with verbose logging # ← key fix here
|
|
50
47
|
working-directory: package
|
|
51
48
|
run: |
|