We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61f701b commit b475e60Copy full SHA for b475e60
2 files changed
.changeset/loud-cups-hammer.md
@@ -0,0 +1,5 @@
1
+---
2
+"@badrap/libapp": patch
3
4
+
5
+Publish npm packages using trusted publishing
.github/workflows/version-or-publish.yml
@@ -23,6 +23,7 @@ jobs:
23
with:
24
node-version: 22
25
cache: npm
26
+ registry-url: "https://registry.npmjs.org"
27
- run: npm ci
28
- run: npm run lint
29
- run: npm run typecheck
@@ -43,6 +44,10 @@ jobs:
43
44
45
46
47
48
+ # Ensure npm 11.5.1 or later is installed for OIDC authentication.
49
+ - name: Update npm
50
+ run: npm install -g npm@latest
51
- name: Install dependencies
52
run: npm ci
53
- name: Create Release Pull Request or Publish to npm
@@ -53,4 +58,3 @@ jobs:
58
publish: npm run release
54
59
env:
55
60
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments