Skip to content

Commit

Permalink
changedir-in-publish-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajpatel committed May 1, 2022
1 parent f1cc2dd commit 669978b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
path: publish
- name: Display structure of downloaded files
run: ls -R
- run: cd publish
- uses: actions/setup-node@v3
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: cd publish
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
Expand All @@ -64,11 +64,11 @@ jobs:
path: publish
- name: Display structure of downloaded files
run: ls -R
- run: cd publish
- uses: actions/setup-node@v3
with:
node-version: 14
registry-url: https://npm.pkg.github.com/
- run: cd publish
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "list-repos",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"description": "List all the repos, their HEADs and clean status in the Current Directory or the Supplied Directory",
"main": "dist/index.cjs",
"type": "commonjs",
Expand Down

0 comments on commit 669978b

Please sign in to comment.