Skip to content

Commit

Permalink
Publish local folder, not non-existing remote GitHub repo
Browse files Browse the repository at this point in the history
This is a workaround for npm/cli#3993
  • Loading branch information
passiondev2024 committed Dec 7, 2021
1 parent eab49e6 commit f86f63e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ jobs:
- uses: actions/setup-node@v2
with:
registry-url: 'https://registry.npmjs.org'
- run: npm publish --access public dist/natural
- run: npm publish --access public dist/natural/
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# Publish to GitHub Packages
- uses: actions/setup-node@v2
with:
registry-url: 'https://npm.pkg.github.com'
- run: npm publish --access public dist/natural
- run: npm publish --access public dist/natural/
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit f86f63e

Please sign in to comment.