Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Prepare build scripts for determine-sdk-version job (#62740)

Timofey Kachalov8442c3a3fdca
diff --git a/.github/workflows/release-embedding-sdk.yml b/.github/workflows/release-embedding-sdk.yml
index 659f0cae519..6c65fd5520a 100644
--- a/.github/workflows/release-embedding-sdk.yml
+++ b/.github/workflows/release-embedding-sdk.yml
@@ -184,6 +184,9 @@ jobs:
with:
ref: ${{ inputs.branch }}
+ - name: Prepare build scripts
+ run: yarn --cwd release --frozen-lockfile && yarn --cwd release build
+
- name: Get current SDK version
id: current-sdk-version
run: |
@@ -194,7 +197,7 @@ jobs:
id: new-sdk-version
uses: actions/github-script@v7
with:
- script: |
+ script: | #js
const { getNextSdkVersion } = require('${{ github.workspace }}/release/dist/index.cjs');
const branch = "${{ inputs.branch }}";