From e4c356168be4bf1efbb06d77adb689aea5ac3755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sven=20Mu=CC=88nnich?= Date: Tue, 7 May 2024 17:14:41 +0200 Subject: [PATCH] Refactor publishing of package to npm registry --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 87e49cd..39f1041 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: 'package.json' - - uses: JS-DevTools/npm-publish@v1 - with: - token: ${{ secrets.NPM_ACCESS_TOKEN }} + registry-url: 'https://registry.npmjs.org' + - run: npm ci + - run: npm publish --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}