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": [