@total_onion/onion-modalcontroller 1.0.16 → 1.0.17

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.
@@ -8,6 +8,9 @@ on:
8
8
  types: [created]
9
9
  branches:
10
10
  - master
11
+ permissions:
12
+ id-token: write # Required for OIDC
13
+ contents: read
11
14
 
12
15
  jobs:
13
16
  build:
@@ -16,19 +19,19 @@ jobs:
16
19
  - uses: actions/checkout@v2
17
20
  - uses: actions/setup-node@v2
18
21
  with:
19
- node-version: 22
22
+ node-version: 24
23
+ # Ensure npm 11.5.1 or later is installed
24
+ - name: Update npm
25
+ run: npm install -g npm@latest
20
26
  - run: npm ci
21
27
 
22
- publish-npm:
28
+ publish:
23
29
  needs: build
24
30
  runs-on: ubuntu-latest
25
31
  steps:
26
- - uses: actions/checkout@v2
27
- - uses: actions/setup-node@v2
32
+ - uses: actions/checkout@v4
33
+ - uses: actions/setup-node@v4
28
34
  with:
29
- node-version: 22
35
+ node-version: 24
30
36
  registry-url: https://registry.npmjs.org/
31
- - run: npm ci
32
37
  - run: npm publish
33
- env:
34
- NODE_AUTH_TOKEN: ${{secrets.npm_token}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-modalcontroller",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "Pop up modal controller",
5
5
  "main": "onion-modalcontroller.js",
6
6
  "scripts": {