Skip to content

Commit b4e228e

Browse files
committed
provide additional arguments to publish
1 parent ec93581 commit b4e228e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ jobs:
4646
run: cd ./dist/packages/string-utils
4747

4848
- name: Publishing the npm package
49-
run: npm publish --access public
49+
run: npm publish dist/packages/string-utils --access public
5050
env:
5151
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
"name": "@smitpatelx/string-utils",
33
"version": "0.0.1",
44
"license": "MIT",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/smitpatelx/string-utils/"
8+
},
9+
"directories": {
10+
"bin": "./dist/packages/string-utils"
11+
},
512
"scripts": {
613
"start": "./node_modules/nx/bin/nx.js serve",
714
"build": "./node_modules/nx/bin/nx.js build",

0 commit comments

Comments
 (0)