Skip to content

Commit 159eb5a

Browse files
authored
Merge pull request #38 from implydata/add-npm-trusted-publishing
Add npm trusted publishing support
2 parents 52f04a1 + bcb536c commit 159eb5a

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"immutable-class": patch
3+
"eslint-plugin-immutable-class": patch
4+
"immutable-class-tester": patch
5+
---
6+
7+
Add npm trusted publishing support for automated releases via OIDC

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ jobs:
3737
needs: [build]
3838
name: Release
3939
runs-on: ubuntu-latest
40+
permissions:
41+
id-token: write
42+
contents: write
43+
pull-requests: write
4044

4145
steps:
4246
- uses: actions/checkout@v4
@@ -51,6 +55,9 @@ jobs:
5155

5256
- run: npm install --prefer-offline --no-audit
5357

58+
- name: Update npm
59+
run: npm install -g npm@latest
60+
5461
- name: Create Release Pull Request or Publish to npm
5562
id: changesets
5663
uses: changesets/action@v1

0 commit comments

Comments
 (0)