From 46883177deb12d960f9f20b6e8925c7abc7a1e89 Mon Sep 17 00:00:00 2001 From: Noah Gao Date: Thu, 18 May 2023 10:57:33 +0800 Subject: [PATCH] ci: allow same version for npm version (#247) --- .github/workflows/npm-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 93a16cb..c6edaeb 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -36,7 +36,7 @@ jobs: - run: git diff # upgrade npm version in package.json to the tag used in the release. # upgrade npm version in package.json to the tag used in the release. - - run: npm version ${{ github.event.release.tag_name }} + - run: npm version ${{ github.event.release.tag_name }} --allow-same-version # build the project - run: npm run build # run tests just in case