From f7981d9449acd8a686c815fbde7a878596bb8b6d Mon Sep 17 00:00:00 2001 From: coliu19 Date: Tue, 11 Oct 2022 10:40:55 +0800 Subject: [PATCH] bump npm version in release flow --- .github/workflows/npm-publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 65a68eb..30785c0 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -18,6 +18,7 @@ jobs: registry-url: https://registry.npmjs.org/ - name: Set env run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + - run: npm --no-git-tag-version version ${{ env.RELEASE_VERSION }} - run: npm ci - run: npm publish --access=public env: