From b0d111d86f3ce61f64469309d7f4245fe9266f08 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 18 May 2025 17:36:08 +0200 Subject: [PATCH] test pnpm --- .github/workflows/pre_release.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pre_release.yml b/.github/workflows/pre_release.yml index d984775c1..966fec4d4 100644 --- a/.github/workflows/pre_release.yml +++ b/.github/workflows/pre_release.yml @@ -13,23 +13,24 @@ jobs: name: 'Automatic pre-release build' runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Enable Corepack - run: corepack enable - - name: Install python 3.11 + - name: Install python 3.13 uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.13' - name: Install Node.js 20 uses: actions/setup-node@v4 with: node-version: '20.x' - - name: Get EMS-ESP version + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Enable Corepack + run: corepack enable pnpm + + - name: Get the EMS-ESP version id: build_info run: | version=`grep -E '^#define EMSESP_APP_VERSION' ./src/emsesp_version.h | awk -F'"' '{print $2}'` @@ -40,14 +41,14 @@ jobs: python -m pip install --upgrade pip pip install -U platformio - - name: Build WebUI + - name: Build the WebUI run: | cd interface - yarn install - yarn typesafe-i18n --no-watch + pnpm install + pnpm typesafe-i18n --no-watch sed -i "s/= 'pl'/= 'en'/" ./src/i18n/i18n-util.ts - yarn build - yarn webUI + pnpm build + pnpm webUI - name: Build all PIO target environments from default_envs run: |