@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 # ← your repro-setup-node-oidc package lives here
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 # ← forked npm CLI lives here
24
+ path: npm-cli
25
25
 
26
26
  - name: Set up Node.js 24 with registry-url
27
- uses: actions/setup-node@v4
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
- - name: Install & link custom npm CLI
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: |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gowri48/npmpublish",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "description": "Your package description",
5
5
  "main": "index.js",
6
6
  "repository": "github:gowridurgad/npm-publish",