From 02c75a4d1379f1b37f412bf86a06d0d24c4958be Mon Sep 17 00:00:00 2001 From: Denys Kuchma Date: Wed, 21 Oct 2026 12:55:18 +0200 Subject: [PATCH 1/2] ci: skip npm version when it already matches the tag --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f2f62d0..c04a91a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,7 +25,9 @@ jobs: - name: Set package version run: | TAG="${{ github.event.release.tag_name }}" - npm version "${TAG#v}" --no-git-tag-version + if [ "$(node -p "require('./package.json').version")" != "${TAG#v}" ]; then + npm version "${TAG#v}" --no-git-tag-version + fi - name: Publish to npm run: | TAG="${{ github.event.release.tag_name }}" From faa488b32154da0ba7c3fdbecdd9f7d78d5d2ae1 Mon Sep 17 00:00:00 2001 From: Denys Kuchma Date: Wed, 21 Oct 2026 15:36:31 +0200 Subject: [PATCH 2/2] version upd --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 76caf19..2eabfbe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@codeceptjs/lint", - "version": "0.1.0", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@codeceptjs/lint", - "version": "0.1.0", + "version": "0.2.0", "license": "MIT", "dependencies": { "acorn": "^8.19.0", diff --git a/package.json b/package.json index cf80715..a3f02d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@codeceptjs/lint", - "version": "0.1.0", + "version": "0.2.0", "description": "Linter for CodeceptJS tests, page objects and helpers", "type": "module", "main": "lib/Linter.js",