@gowri48/npmpublish 2.3.8 → 2.4.0

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