Skip to content

Commit e5addea

Browse files
committed
fix(devops): hopefully the action now triggers
1 parent 0ce6c02 commit e5addea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
id-token: write
1013
steps:
1114
- uses: actions/checkout@v4
1215

@@ -16,8 +19,7 @@ jobs:
1619
node-version: '22.x'
1720
registry-url: 'https://registry.npmjs.org'
1821

19-
- run: npm install
2022
# - run: npm ci
21-
- run: npm publish
23+
- run: npm publish --provenance --access public
2224
env:
2325
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

0 commit comments

Comments
 (0)