@gowri48/npmpublish 1.7.5 → 1.8.4

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.
@@ -1,28 +1,25 @@
1
1
  name: testing_oidc
2
-
3
2
  on:
4
3
  workflow_dispatch:
5
4
 
5
+ permissions:
6
+ contents: read
7
+ id-token: write
8
+
6
9
  jobs:
7
10
  publish:
8
11
  runs-on: ubuntu-latest
9
- env:
10
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
11
-
12
12
  steps:
13
13
  - uses: actions/checkout@v6
14
- - uses: pnpm/action-setup@v6
15
- with:
16
- version: 11
14
+
17
15
 
18
- - uses: actions/setup-node@v6
16
+ - uses: gowridurgad/setup-node@auth-token
19
17
  with:
20
18
  node-version: '24'
21
19
  registry-url: "https://registry.npmjs.org"
22
- cache: pnpm
20
+ cache: npm
21
+ auth-token-line: 'false'
23
22
 
24
- - run: pnpm install
23
+ - run: npm install
25
24
 
26
- - run: pnpm publish --no-git-checks
27
- env:
28
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
25
+ - run: npm publish
package/package.json CHANGED
@@ -1,22 +1,23 @@
1
1
  {
2
2
  "name": "@gowri48/npmpublish",
3
- "version": "1.7.5",
3
+ "version": "1.8.4",
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
+ }