@vb-test-org/hello-world-npm 1.0.3 → 1.0.5

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,9 +6,12 @@ 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
14
  permissions:
11
- id-token: write
12
15
  contents: read
13
16
 
14
17
  jobs:
@@ -16,9 +19,12 @@ jobs:
16
19
  runs-on: ubuntu-latest
17
20
  steps:
18
21
  - uses: actions/checkout@v4
19
- - uses: actions/setup-node@v6
22
+ - uses: actions/setup-node@v4
20
23
  with:
21
- node-version: '24'
24
+ node-version: '22'
22
25
  registry-url: 'https://registry.npmjs.org'
23
26
  - run: npm ci
24
27
  - run: npm publish --access public
28
+ env:
29
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30
+ 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.3",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",