Skip to content

Commit f2e8683

Browse files
committed
chore: switch to npm trusted publishing (OIDC)
1 parent db1497d commit f2e8683

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ jobs:
2929
- name: Build
3030
run: bun run build
3131

32-
- name: Setup Node.js for npm publish
32+
- name: Setup Node.js
3333
uses: actions/setup-node@v4
3434
with:
35-
node-version: '20'
35+
node-version: '24'
3636
registry-url: 'https://registry.npmjs.org'
3737

38+
# Trusted Publishing via OIDC - no token needed!
39+
# See: https://docs.npmjs.com/trusted-publishers/
3840
- name: Publish to npm
39-
run: npm publish --access public
40-
env:
41-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
41+
run: npm publish --access public --provenance

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mailshieldai/opencode-canvas",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "Interactive terminal canvases for OpenCode - calendars, documents, flight booking",
55
"author": {
66
"name": "Harsha",

0 commit comments

Comments
 (0)