@vb-test-org/hello-world-npm 1.0.4 → 1.0.6

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.
@@ -6,10 +6,14 @@ name: Node.js Package
6
6
  on:
7
7
  push:
8
8
  branches: [main]
9
+ workflow_call:
10
+ secrets:
11
+ NPM_TOKEN:
12
+ required: true
9
13
 
10
- permissions:
11
- id-token: write
12
- contents: read
14
+ # permissions:
15
+ # id-token: write
16
+ # contents: read
13
17
 
14
18
  jobs:
15
19
  publish-npm:
@@ -18,7 +22,10 @@ jobs:
18
22
  - uses: actions/checkout@v4
19
23
  - uses: actions/setup-node@v4
20
24
  with:
21
- node-version: '24'
25
+ node-version: '22'
22
26
  registry-url: 'https://registry.npmjs.org'
23
27
  - run: npm ci
24
28
  - run: npm publish --access public
29
+ env:
30
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
31
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vb-test-org/hello-world-npm",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",