Skip to content

Commit 05efee7

Browse files
authored
Merge pull request #82 from runk/fix-oidc-release
chore: fixing oidc connection with npmjs
2 parents e6461b3 + ddfbfb6 commit 05efee7

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@ on:
55
branches: [master]
66
pull_request:
77
branches: ['*']
8-
# types: [opened, synchronize]
98

109
jobs:
1110
build:
1211
runs-on: ubuntu-latest
1312

1413
strategy:
1514
matrix:
16-
node-version: [18.x, 20.x, 22.x]
15+
node-version: [20.x, 22.x, 24.x]
1716

1817
steps:
1918
- uses: actions/checkout@v6

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ on:
33
push:
44
branches:
55
- master
6+
7+
permissions:
8+
id-token: write # Required for OIDC / npm trusted publishing
9+
contents: write # To create releases
10+
611
jobs:
712
release:
813
name: Release
@@ -23,5 +28,4 @@ jobs:
2328
- name: Release
2429
env:
2530
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2731
run: npx semantic-release

0 commit comments

Comments
 (0)