@gowri48/npmpublish 1.3.8 → 1.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,32 +1,20 @@
1
1
  name: testing_1477_oidc
2
- on:
3
- workflow_dispatch:
4
2
 
3
+ on: workflow_dispatch
5
4
 
6
5
  permissions:
7
- id-token: write # Required for OIDC
6
+ id-token: write
8
7
  contents: read
9
-
8
+
10
9
  jobs:
11
10
  publish:
12
11
  runs-on: ubuntu-latest
13
- environment: release
14
12
  steps:
15
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
16
-
17
- - uses: pnpm/action-setup@26f6d4f2c533a43e6b5da0b4a5dd983f98f7b49a # v6.0.4
18
-
19
- - name: Use Node.js 24
20
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
21
- with:
22
- node-version: "24"
23
- registry-url: "https://registry.npmjs.org"
24
- cache: pnpm
25
- package-manager-cache: true
26
-
27
- - run: pnpm install
28
- - run: pnpm build
29
- - run: pnpm test
30
-
31
- - name: Publish
32
- run: pnpm publish --recursive --no-git-checks --verbose
13
+ - uses: actions/checkout@v4
14
+ - uses: actions/setup-node@v4
15
+ with:
16
+ node-version: '24'
17
+ registry-url: 'https://registry.npmjs.org'
18
+ - run: npm install -g npm@latest --force # ensure 11.5.1+
19
+ - run: npm publish --access public --provenance
20
+
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@gowri48/npmpublish",
3
- "version": "1.3.8",
3
+ "version": "1.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
+ },
9
13
  "publishConfig": {
10
- "access": "public"
14
+ "access": "public"
11
15
  },
12
16
  "dependencies": {
13
17
  "axios": "^1.7.0"
14
18
  },
15
19
  "engines": {
16
20
  "node": ">=12"
17
- },
18
- "scripts": {
19
- "build": "node -e \"console.log('build ok')\"",
20
- "test": "node -e \"console.log('ok')\""
21
21
  }
22
- }
22
+ }