Skip to content

Commit

Permalink
fix publish command
Browse files Browse the repository at this point in the history
- using `yarn npm publish`
- updating auth token env name
- setting package visibility

updating publish visibility
  • Loading branch information
makrsmark committed Nov 20, 2024
1 parent d88c73f commit 3447c21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
scope: '@airframes'
- run: yarn install --immutable
- run: yarn build
- run: yarn publish
- run: yarn npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@
"tsup": "^8.0.2",
"typescript": "^5.3.3"
},
"publishConfig": {
"access": "public"
},
"packageManager": "[email protected]"
}

0 comments on commit 3447c21

Please sign in to comment.