@gowri48/npmpublish 2.1.6 → 2.1.8

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,24 @@ 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
12
8
  steps:
13
9
  - uses: actions/checkout@v6
14
- - uses: pnpm/action-setup@v6
15
- with:
16
- version: 11
10
+
17
11
 
18
12
  - uses: gowridurgad/setup-node@removes-dummy
19
13
  with:
20
- node-version: '24'
14
+ node-version: '22'
21
15
  registry-url: "https://registry.npmjs.org"
22
- cache: pnpm
16
+ cache: npm
17
+ env:
18
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
19
+
23
20
 
24
- - run: pnpm install
21
+ - run: npm install
25
22
 
26
- - run: pnpm publish --no-git-checks
23
+ - run: npm publish --access public
24
+ env:
25
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,22 +1,23 @@
1
1
  {
2
2
  "name": "@gowri48/npmpublish",
3
- "version": "2.1.6",
3
+ "version": "2.1.8",
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
+ }