Skip to content

Commit a9be85b

Browse files
authored
feat: node 24 and trusted publish (#237)
* feat: shift node versions to 24 and allow trusted publisher * feat: bumping axios to latest version * build: using update token for release please
1 parent c5a9871 commit a9be85b

File tree

5 files changed

+364
-374
lines changed

5 files changed

+364
-374
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
87
runs-on: ubuntu-latest
98

109
strategy:
1110
matrix:
12-
node: [18, 20, 22]
11+
node: [20, 22, 24]
1312

1413
steps:
1514
- uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
permissions:
77
contents: write
88
pull-requests: write
9+
id-token: write
910

1011
name: release-please
1112
jobs:
@@ -16,7 +17,7 @@ jobs:
1617
- uses: googleapis/release-please-action@v4
1718
id: release
1819
with:
19-
token: ${{ secrets.GH_REPO_ACCESS }}
20+
token: ${{ secrets.GH_REPO_ACCESS_PUBLIC_REPOS }}
2021
release-type: node
2122

2223
- uses: actions/checkout@v4
@@ -35,8 +36,6 @@ jobs:
3536
if: ${{ steps.release.outputs.release_created }}
3637
3738
- run: npm publish
38-
env:
39-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4039
if: ${{ steps.release.outputs.release_created }}
4140

4241
- run: |

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22
1+
24.10

0 commit comments

Comments
 (0)