Skip to content

Commit d06e885

Browse files
committed
Configure npm publishing
1 parent 74b860a commit d06e885

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525
- run: npm install -g npm@latest
2626
- run: npm ci
2727
- run: npm run build --if-present
28-
- run: npm publish
28+
- run: npm publish --provenance --access public
2929
env:
3030
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
2-
"name": "learncli",
2+
"name": "@pdebruin/learncli",
33
"version": "1.0.0",
44
"description": "A cross-platform command-line learning app",
5+
"publishConfig": {
6+
"access": "public"
7+
},
58
"keywords": [
69
"cli",
710
"learning",

0 commit comments

Comments
 (0)