Skip to content

Commit 5704fed

Browse files
committed
trusted publish
1 parent b35512f commit 5704fed

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/RELEASE.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Publish (NPM)
22
permissions:
3+
id-token: write
34
contents: read
45
pull-requests: write
56
on:
@@ -13,11 +14,10 @@ jobs:
1314
# Publish to NPM
1415
- uses: actions/setup-node@v5
1516
with:
17+
node-version: 24
1618
registry-url: 'https://registry.npmjs.org/'
1719
- run: npm install
1820
- run: npm run build --if-present
1921
- run: npm run format --if-present
2022
- run: npm publish --access public
21-
env:
22-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2323

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
{
22
"name": "@johntalton/excamera-i2cdriver",
3-
"version": "3.1.2",
3+
"version": "3.1.3",
4+
"license": "MIT",
45
"type": "module",
56
"exports": {
67
".": "./src/index.js",
78
"./capture": "./src/capture-generator/index.js"
89
},
910
"files": [
1011
"src/**/*.js"
11-
]
12+
],
13+
"repository": {
14+
"url": "https://github.com/johntalton/excamera-i2cdriver"
15+
}
1216
}

0 commit comments

Comments
 (0)