Skip to content

Commit 153330a

Browse files
Merge pull request #14 from MauricioRobayo/github-package
fix: release to gh package registry
2 parents 3df3d75 + 98eb03e commit 153330a

File tree

3 files changed

+4350
-350
lines changed

3 files changed

+4350
-350
lines changed

.github/workflows/build-and-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,13 @@ jobs:
5353
uses: actions/download-artifact@v1
5454
with:
5555
name: dist
56-
- name: Release
56+
- name: Release NPM Registry
5757
env:
5858
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5959
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
60+
run: npx semantic-release
61+
- name: Release GH Registry
62+
env:
63+
NPM_CONFIG_REGISTRY: https://npm.pkg.github.com
64+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6065
run: npx semantic-release

0 commit comments

Comments
 (0)