We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f77d50 commit 93bc4dbCopy full SHA for 93bc4db
2 files changed
.changeset/update-trusted-publishing.md
@@ -0,0 +1,6 @@
1
+---
2
+"@nylas/connect": patch
3
4
+
5
+Update release workflow to use npm trusted publishing with OIDC authentication
6
.github/workflows/release.yml
@@ -37,6 +37,9 @@ jobs:
37
node-version: ${{ env.NODE_VERSION }}
38
registry-url: "https://registry.npmjs.org"
39
40
+ - name: Update npm
41
+ run: npm install -g npm@latest
42
43
- name: Setup pnpm
44
uses: pnpm/action-setup@v4
45
with:
@@ -84,6 +87,4 @@ jobs:
84
87
createGithubReleases: true
85
88
env:
86
89
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # do not remove this line (https://github.com/changesets/action/issues/98)
- PM_CONFIG_PROVENANCE: true
90
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # Only needed for installing private dependencies
0 commit comments