@gowri48/npmpublish 1.2.0 → 1.2.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.
@@ -11,15 +11,18 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  steps:
13
13
  - uses: actions/checkout@v6
14
- - uses: pnpm/action-setup@v5
15
- with:
16
- version: 10
17
-
14
+
18
15
  - uses: Satishchoudhary94/setup-node@fix/oidc-support-1440
19
16
  with:
20
17
  node-version: '24'
21
18
  registry-url: 'https://registry.npmjs.org'
22
- cache: 'pnpm'
23
- - run: pnpm install
19
+ cache: 'npm'
20
+
21
+ # Use a read-only token for installing dependencies
22
+ - run: npm ci
23
+ env:
24
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_READ }}
24
25
 
25
- - run: pnpm publish --no-git-checks
26
+ # Publish uses OIDC - no token needed
27
+ - run: npm publish
28
+
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@gowri48/npmpublish",
3
- "version": "1.2.0",
3
+ "version": "1.2.3",
4
4
  "description": "Your package description",
5
5
  "main": "index.js",
6
6
  "repository": "github:gowridurgad/npm-publish",
7
7
  "author": "gowridurgad",
8
8
  "license": "ISC",
9
+ "scripts": {
10
+ "test": "echo \"Error: no test specified\" && exit 1"
11
+ },
9
12
  "publishConfig": {
10
- "access": "public"
13
+ "access": "public"
11
14
  },
12
15
  "dependencies": {
13
- "axios": "^1.7.0"
16
+ "axios": "^1.7.0"
14
17
  },
15
18
  "engines": {
16
19
  "node": ">=12"
17
- },
18
- "scripts": {
19
- "test": "echo \"Error: no test specified\" && exit 1"
20
20
  }
21
- }
21
+ }