@gowri48/npmpublish 2.2.9 → 2.3.1

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,24 +2,27 @@ name: testing_oidc
2
2
  on:
3
3
  workflow_dispatch:
4
4
 
5
+ permissions:
6
+ contents: read
7
+ id-token: write
8
+
5
9
  jobs:
6
10
  publish:
7
11
  runs-on: ubuntu-latest
8
- env:
9
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
10
12
  steps:
11
13
  - uses: actions/checkout@v6
12
14
 
13
15
 
14
16
  - uses: gowridurgad/setup-node@oidc-1
15
17
  with:
16
- node-version: '22'
18
+ node-version: '24'
17
19
  registry-url: "https://registry.npmjs.org"
18
20
  cache: npm
19
-
20
-
21
+ - name: Print .npmrc contents
22
+ run: cat "${NPM_CONFIG_USERCONFIG}"
21
23
 
22
24
  - run: npm install
23
25
 
24
- - run: npm publish --access public
25
-
26
+ - run: npm publish
27
+ - name: Print .npmrc contents
28
+ run: cat "${NPM_CONFIG_USERCONFIG}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gowri48/npmpublish",
3
- "version": "2.2.9",
3
+ "version": "2.3.1",
4
4
  "description": "Your package description",
5
5
  "main": "index.js",
6
6
  "repository": "github:gowridurgad/npm-publish",