Skip to content

Commit 44e358e

Browse files
committed
fix: 🐛 publish to github package
1 parent 44f9b28 commit 44e358e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@ jobs:
3131
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3232
GITHUB_TOKEN: ${{ env.bot_token }}
3333

34-
- name: Publish To GitHub Package Registry
34+
- name: Setup Node.js with GitHub Package Registry
3535
if: steps.semantic.outputs.new_release_published == 'true'
3636
uses: actions/setup-node@v1
3737
with:
3838
node-version: 12
3939
registry-url: https://npm.pkg.github.com
4040
scope: bubkoo
41-
env:
42-
NODE_AUTH_TOKEN: ${{ env.bot_token }}
4341

4442
- name: Publish To GitHub Package Registry
4543
if: steps.semantic.outputs.new_release_published == 'true'
46-
run: npm publish
44+
run: |
45+
sed -i '' 's/\("name"\:[[:space:]]*"\)\(html-to-image"\)/\1@bubkoo\/\2/' package.json
46+
npm publish
4747
env:
4848
NODE_AUTH_TOKEN: ${{ env.bot_token }}

0 commit comments

Comments
 (0)