Skip to content

Commit 15483a0

Browse files
committed
Change package registry to NPM
1 parent 474ef74 commit 15483a0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/release-package.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
with:
1414
node-version: 16
1515
- run: yarn install --frozen-lockfile
16+
- run: yarn build
1617
# - run: yarn test
1718

1819
publish-gpr:
@@ -26,8 +27,9 @@ jobs:
2627
- uses: actions/setup-node@v3
2728
with:
2829
node-version: 16
29-
registry-url: https://npm.pkg.github.com/
30+
registry-url: https://registry.npmjs.org/
3031
- run: yarn install --frozen-lockfile
31-
- run: yarn publish
32+
- run: yarn build
33+
- run: yarn publish --access public
3234
env:
33-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
35+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@badgeteam/mch2022-webusb-lib",
2+
"name": "@badge.team/badge-webusb",
33
"version": "1.0.0",
44
"description": "Web API for the Badge.team MCH2022 badge",
55
"keywords": [

0 commit comments

Comments
 (0)