diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index a962642..7092ce3 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -19,6 +19,7 @@ jobs: with: node-version-file: .nvmrc cache: npm + registry-url: https://registry.npmjs.org - name: Install dependencies run: npm ci --ignore-scripts @@ -27,6 +28,6 @@ jobs: run: npm run test - name: Publish package - run: npm publish --access public + run: npm login && npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}