From 6768b966bc08afb8fc8689b9b666a934374a9e58 Mon Sep 17 00:00:00 2001 From: MichalKinas Date: Mon, 11 Aug 2025 15:16:30 +0200 Subject: [PATCH] Release action fixes, pdfjs version fixed --- .github/actions/update-library-versions/action.yml | 2 +- .github/workflows/release.yml | 1 - package-lock.json | 8 ++++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/actions/update-library-versions/action.yml b/.github/actions/update-library-versions/action.yml index 0f277608a..0a8d35880 100644 --- a/.github/actions/update-library-versions/action.yml +++ b/.github/actions/update-library-versions/action.yml @@ -17,7 +17,7 @@ runs: run: | VERSION_IN_PACKAGE_JSON=$(jq -cr '.version' < package.json) - if [[ ${{ inputs.branch_name }} =~ ^master.*?$ ]] ; then + if [[ ${{ inputs.branch_name }} =~ ^master.*?$ ]] || [[ "${{ inputs.branch_name }}" == release/* ]] ; then NEW_LIBRARY_VERSION="$VERSION_IN_PACKAGE_JSON" else NEW_LIBRARY_VERSION="${VERSION_IN_PACKAGE_JSON}-${{ github.run_id }}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc9df2902..4334b630d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,6 @@ on: branches: - master - develop - - release/** env: BASE_URL: ${{ secrets.PIPELINE_ENV_URL }} diff --git a/package-lock.json b/package-lock.json index 0bee25ed8..f263bc08b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25986,15 +25986,15 @@ "license": "MIT" }, "node_modules/pdfjs-dist": { - "version": "5.4.54", - "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-5.4.54.tgz", - "integrity": "sha512-TBAiTfQw89gU/Z4LW98Vahzd2/LoCFprVGvGbTgFt+QCB1F+woyOPmNNVgLa6djX9Z9GGTnj7qE1UzpOVJiINw==", + "version": "5.3.31", + "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-5.3.31.tgz", + "integrity": "sha512-EhPdIjNX0fcdwYQO+e3BAAJPXt+XI29TZWC7COhIXs/K0JHcUt1Gdz1ITpebTwVMFiLsukdUZ3u0oTO7jij+VA==", "license": "Apache-2.0", "engines": { "node": ">=20.16.0 || >=22.3.0" }, "optionalDependencies": { - "@napi-rs/canvas": "^0.1.74" + "@napi-rs/canvas": "^0.1.67" } }, "node_modules/picocolors": {