diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 96dd030..11ce50b 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -23,8 +23,8 @@ jobs: - uses: actions/setup-node@v3 with: node-version: '16.x' - registry-url: 'https://registry.npmjs.org' + registry-url: 'https://npm.pkg.github.com' - run: npm ci - - run: npm publish --access public + - run: npm publish env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index b5f1803..4a896d6 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,9 @@ "url": "https://github.com/feedyou-ai/jq-web/issues" }, "homepage": "https://github.com/feedyou-ai/jq-web/jq-web#readme", + "publishConfig": { + "registry": "https://npm.pkg.github.com/feedyou-ai" + }, "devDependencies": { "tape": "^4.9.1", "uglify-es": "^3.3.9",