jacks-npm-test 1.0.0 → 1.0.1

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.
@@ -3,6 +3,10 @@ name: Publish to npm
3
3
  on:
4
4
  workflow_dispatch:
5
5
 
6
+ permissions:
7
+ contents: read
8
+ id-token: write
9
+
6
10
  jobs:
7
11
  publish:
8
12
  runs-on: ubuntu-latest
@@ -11,9 +15,9 @@ jobs:
11
15
 
12
16
  - uses: actions/setup-node@v4
13
17
  with:
14
- node-version: 20
18
+ node-version: 22
15
19
  registry-url: https://registry.npmjs.org
16
20
 
21
+ - run: npm install -g npm@latest
22
+
17
23
  - run: npm publish
18
- env:
19
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jacks-npm-test",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A very simple package that outputs hello world",
5
5
  "main": "index.js",
6
6
  "bin": {