From d71448604df12e3c5cee5a878161c48db2cf72e8 Mon Sep 17 00:00:00 2001 From: joussy Date: Mon, 10 Jun 2024 12:00:51 +0200 Subject: [PATCH] Update npm-publish.yml --- .github/workflows/npm-publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 33d01c4..148a77e 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -27,6 +27,7 @@ jobs: node-version: 16 registry-url: https://registry.npmjs.org/ - run: npm ci - - run: npm publish --tag ${{ github.ref_name }} + - run: npm version --allow-same-version ${{ github.ref_name }} + - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}