From 444508cda38214e623e31676ce715ed3cb579ba3 Mon Sep 17 00:00:00 2001 From: Kim Gustyr Date: Mon, 8 Jan 2024 17:55:48 +0000 Subject: [PATCH] fix(ci): fix publish (#27) --- .github/workflows/publish-package.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }}