diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 78c692f..f3d9b74 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,6 @@ jobs: run: npm run build - name: Publish to NPM - run: npm publish --access public + run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 18087d2..2327cb2 100644 --- a/package.json +++ b/package.json @@ -14,5 +14,9 @@ "ts-node": "^10.9.1", "typescript": "^4.9.5", "@types/node": "^20.0.0" + }, + "publishConfig": { + "registry": "https://registry.npmjs.org/", + "access": "public" } }