@gowri48/npmpublish 2.3.4 → 2.3.7

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.
@@ -2,25 +2,26 @@ name: testing_oidc
2
2
  on:
3
3
  workflow_dispatch:
4
4
 
5
- permissions:
6
- contents: read
7
- id-token: write
8
-
9
5
  jobs:
10
6
  publish:
11
7
  runs-on: ubuntu-latest
8
+ env:
9
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
12
10
  steps:
13
11
  - uses: actions/checkout@v6
14
- - uses: pnpm/action-setup@v6
15
- with:
16
- version: 11
12
+
17
13
 
18
- - uses: gowridurgad/setup-node@oidc-2
14
+ - uses: gowridurgad/setup-node@oidc-1
19
15
  with:
20
16
  node-version: '24'
21
17
  registry-url: "https://registry.npmjs.org"
22
- cache: pnpm
18
+ cache: npm
19
+
20
+ - name: Print .npmrc contents
21
+ run: cat "${NPM_CONFIG_USERCONFIG}"
23
22
 
24
- - run: pnpm install
23
+
24
+ - run: npm install
25
+
26
+ - run: npm publish --access public
25
27
 
26
- - run: pnpm publish --no-git-checks
package/package.json CHANGED
@@ -1,22 +1,23 @@
1
1
  {
2
2
  "name": "@gowri48/npmpublish",
3
- "version": "2.3.4",
3
+ "version": "2.3.7",
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
+ "build": "node -e \"console.log('build ok')\"",
11
+ "test": "node -e \"console.log('ok')\""
12
+ },
9
13
  "publishConfig": {
10
14
  "access": "public"
15
+
11
16
  },
12
17
  "dependencies": {
13
18
  "axios": "^1.7.0"
14
19
  },
15
20
  "engines": {
16
21
  "node": ">=12"
17
- },
18
- "scripts": {
19
- "build": "node -e \"console.log('build ok')\"",
20
- "test": "node -e \"console.log('ok')\""
21
22
  }
22
- }
23
+ }