ins-queue-actions 1.2.95 → 1.2.97

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.
@@ -9,6 +9,8 @@ on:
9
9
  jobs:
10
10
  version_update:
11
11
  runs-on: ubuntu-latest
12
+ permissions:
13
+ contents: write # Needed to commit and push version changes
12
14
  steps:
13
15
  - uses: actions/checkout@v4
14
16
  - uses: actions/setup-node@v4
@@ -29,6 +31,9 @@ jobs:
29
31
  publish-npm:
30
32
  needs: version_update
31
33
  runs-on: ubuntu-latest
34
+ permissions:
35
+ id-token: write # Required for trusted publishing with OIDC (if using trusted publishing)
36
+ contents: read
32
37
  steps:
33
38
  - uses: actions/checkout@v4
34
39
  with:
@@ -42,12 +47,8 @@ jobs:
42
47
  - name: Fetch the latest code
43
48
  run: git pull origin main # Ensures that the latest version is fetched from the main branch.
44
49
 
45
- - name: Validate npm token
46
- run: npm whoami
47
- env:
48
- NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
49
-
50
50
  - name: Publish to npm
51
- run: npm publish
51
+ run: npm publish --access public
52
52
  env:
53
53
  NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
54
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ins-queue-actions",
3
- "version": "1.2.95",
3
+ "version": "1.2.97",
4
4
  "main": "index.js",
5
5
  "engineStrict": true
6
6
  }