From 1b31e0646a77043550f7c8887e816c059b83267b Mon Sep 17 00:00:00 2001 From: 7PH Date: Mon, 3 Jun 2024 10:54:42 +0200 Subject: [PATCH] NO-JIRA Fix release pipeline to include build folder & Publish v4.0.1 --- .github/workflows/release.yml | 4 ++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a679af7..2c256437 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,6 +35,10 @@ jobs: with: node-version: 18 - run: mv .github/workflows/.npmrc .npmrc + - name: Build npm package + run: | + npm install + npm run build - name: Publish npm package env: NPM_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).npm_token }} diff --git a/package-lock.json b/package-lock.json index 15f6d874..9dc993ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "sonarqube-scanner", - "version": "4.0.0", + "version": "4.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "sonarqube-scanner", - "version": "4.0.0", + "version": "4.0.1", "license": "LGPL-3.0-only", "dependencies": { "adm-zip": "0.5.12", diff --git a/package.json b/package.json index e7e4c820..40d1cddb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sonarqube-scanner", "description": "SonarQube/SonarCloud Scanner for the JavaScript world", - "version": "4.0.0", + "version": "4.0.1", "homepage": "https://github.com/SonarSource/sonar-scanner-npm", "author": { "name": "Fabrice Bellingard",