Skip to content

Commit b38cfe2

Browse files
chore: corrected workflow
1 parent 27932c8 commit b38cfe2

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
id-token: write
1114

1215
strategy:
1316
matrix:
@@ -21,6 +24,7 @@ jobs:
2124
uses: actions/setup-node@v4
2225
with:
2326
node-version: ${{ matrix.node-version }}
27+
registry-url: 'https://registry.npmjs.org'
2428

2529
- name: Install dependencies
2630
run: npm ci
@@ -31,4 +35,4 @@ jobs:
3135
- name: Publish to npm
3236
env:
3337
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
34-
run: npm publish --access public
38+
run: npm publish --provenance --access public

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prolifode/spiffsgen-wrapper",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Node.js wrapper for ESP-IDF spiffsgen.py",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)