diff --git a/.github/workflows/publish-npm-packages.yml b/.github/workflows/publish-npm-packages.yml index 28c8b4e..9167f37 100644 --- a/.github/workflows/publish-npm-packages.yml +++ b/.github/workflows/publish-npm-packages.yml @@ -26,7 +26,6 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18.x - registry-url: https://npm.pkg.github.com/ scope: '@etherealengine' - name: Config npm registry token run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" @@ -60,7 +59,7 @@ jobs: pr_title: ${{ github.event.release.tag_name }} pr_body: Bump version to ${{ github.event.release.tag_name }} - name: Publish to npm - run: npm run publish-no-verify + run: npm run publish-npm env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Config npm registry token diff --git a/package.json b/package.json index 8baad95..e7ee83d 100755 --- a/package.json +++ b/package.json @@ -33,8 +33,8 @@ "format": "prettier --write \"web/*.{ts,tsx}\"", "format-staged": "lint-staged", "lint": "prettier --check \"web/*.{ts,tsx}\"", - "publish-no-verify": "npm publish --yes --ignore-scripts", - "publish-github": "npm publish --yes --ignore-scripts --registry https://npm.pkg.github.com" + "publish-npm": "npm publish --yes --ignore-scripts --registry=https://registry.npmjs.org", + "publish-github": "npm publish --yes --ignore-scripts --registry=https://npm.pkg.github.com" }, "pre-commit": [ "format-staged"