@@ -15,44 +15,43 @@ jobs:
1515 fail-fast : false
1616 matrix :
1717 include :
18- - os : macos-12
18+ - os : macos-15
1919 label : x64+arm64
2020 node_arch : x64
2121 command : build:gyp
2222 args : --arch x64+arm64
23- - os : windows-2019
24- label : x86
25- node_arch : x86
26- command : build:gyp
27- - os : windows-2019
23+ - os : windows-2022
2824 label : x64
2925 node_arch : x64
3026 command : build:gyp
31- - os : ubuntu-20.04
27+ - os : ubuntu-22.04
28+ label : linux-glibc
29+ command : build:gyp-cross
30+ args : -i almalinux-devtoolset11
31+ - os : ubuntu-22.04
3232 label : alpine
3333 command : build:gyp-cross
34- args : -i centos7-devtoolset7 -i alpine
35- - os : ubuntu-20 .04
36- label : armv6+armv7
34+ args : -i alpine
35+ - os : ubuntu-22 .04
36+ label : linux-arm
3737 command : build:gyp-cross
38- args : -i linux-arm64-lts -i linux-armv7 -i linux-armv6
39- - os : ubuntu-20 .04
40- label : musl+arm64 -musl
38+ args : -i linux-arm64 -i linux-armv7 -i linux-armv6
39+ - os : ubuntu-22 .04
40+ label : linux-arm -musl
4141 command : build:gyp-cross
42- args : --tag-libc musl -i linux-arm64 -musl
43- - os : ubuntu-20 .04
44- label : arm64+armv7
42+ args : -i linux-arm64- musl -i linux-armv7l -musl
43+ - os : ubuntu-22 .04
44+ label : android-arm
4545 command : build:gyp-cross
4646 args : -i android-arm64 -i android-armv7
4747 steps :
4848 - uses : actions/checkout@v4
4949 with :
5050 ref : ${{ env.TARGET_REF }}
51- token : ${{ secrets.GPR_TOKEN }}
5251
5352 - uses : actions/setup-node@v4
5453 with :
55- node-version : 22
54+ node-version : 24
5655 architecture : ${{ matrix.node_arch }}
5756
5857 - name : Install dependencies
@@ -80,15 +79,18 @@ jobs:
8079 deploy :
8180 needs : merge
8281 runs-on : ubuntu-latest
82+ permissions :
83+ contents : read
84+ packages : write
85+ id-token : write
8386 steps :
8487 - uses : actions/checkout@v4
8588 with :
8689 ref : ${{ env.TARGET_REF }}
87- token : ${{ secrets.GPR_TOKEN }}
8890
8991 - uses : actions/setup-node@v4
9092 with :
91- node-version : 22
93+ node-version : 24
9294 registry-url : ' https://registry.npmjs.org'
9395
9496 - uses : actions/download-artifact@v4
@@ -100,17 +102,15 @@ jobs:
100102 run : npm ci
101103
102104 - name : Publish to npm
103- run : npm publish
104- env :
105- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
105+ run : npm publish --provenance
106106
107107 - uses : actions/setup-node@v4
108108 with :
109- node-version : 22
109+ node-version : 24
110110 registry-url : ' https://npm.pkg.github.com'
111111 scope : ' @NeuraLegion'
112112
113113 - name : Publish to GPR
114114 run : npm publish
115115 env :
116- NODE_AUTH_TOKEN : ${{ secrets.GPR_TOKEN }}
116+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments