From a066d6398ec2d7cc7a39b00efb82a86f1e1a0656 Mon Sep 17 00:00:00 2001 From: Ivan Kalachikov Date: Wed, 12 Jun 2024 19:48:38 +0800 Subject: [PATCH] fix: unpublish action --- .github/workflows/npm-publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 7e15186..f7a3bdd 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -34,6 +34,8 @@ jobs: node-version: 20.11.0 registry-url: https://registry.npmjs.org/ - run: npm publish --access public + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - run: npm unpublish vc-modules-front-hotjar --force - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}