From 15483a0ec88894b82b4e28fabd656dd9a9a691c0 Mon Sep 17 00:00:00 2001 From: Reinier van der Leer Date: Wed, 29 Mar 2023 23:11:18 +0200 Subject: [PATCH] Change package registry to NPM --- .github/workflows/release-package.yml | 8 +++++--- package.json | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index d49bd2f..fa05728 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -13,6 +13,7 @@ jobs: with: node-version: 16 - run: yarn install --frozen-lockfile + - run: yarn build # - run: yarn test publish-gpr: @@ -26,8 +27,9 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 - registry-url: https://npm.pkg.github.com/ + registry-url: https://registry.npmjs.org/ - run: yarn install --frozen-lockfile - - run: yarn publish + - run: yarn build + - run: yarn publish --access public env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/package.json b/package.json index fe70f1a..5a00b01 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@badgeteam/mch2022-webusb-lib", + "name": "@badge.team/badge-webusb", "version": "1.0.0", "description": "Web API for the Badge.team MCH2022 badge", "keywords": [