Skip to content

Commit

Permalink
Update npm-publish.yml to streamline publish process and add git type…
Browse files Browse the repository at this point in the history
… to package.json
  • Loading branch information
pelikhan committed Sep 23, 2024
1 parent c9ec7da commit 3ef6da5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,7 @@ jobs:
cache: yarn
- run: yarn install
- run: yarn compile
- run: npm login --registry=https://npm.pkg.github.com
working-directory: packages/cli
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm whoami
working-directory: packages/cli
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm publish
- run: npm publish --userconfig ../../.npmrc
working-directory: packages/cli
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
],
"publisher": "Microsoft",
"repository": {
"type": "git",
"url": "git+https://github.com/microsoft/genaiscript.git"
},
"homepage": "https://microsoft.github.io/genaiscript",
Expand Down

0 comments on commit 3ef6da5

Please sign in to comment.