From 618f404d6e88b0e337c627b2685900d2eec86e43 Mon Sep 17 00:00:00 2001 From: twobiers <22715034+twobiers@users.noreply.github.com> Date: Sat, 7 Sep 2024 01:01:10 +0200 Subject: [PATCH] use npm version from git --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 61008de..5b4cefa 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,7 +3,7 @@ name: Release on: push: tags: - - "*" + - "v*.*.*" jobs: test: @@ -37,6 +37,7 @@ jobs: registry-url: "https://registry.npmjs.org" cache: npm + - run: npm version from-git - run: npm ci - run: npm run build - run: npm publish --access public --provenance