From 0acc9eebe65bc2adcbc0e0c058940f62023d2f3d Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Mon, 4 Nov 2024 09:19:32 +0000 Subject: [PATCH] fix: change swc update command --- .github/workflows/update-swc.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-swc.yml b/.github/workflows/update-swc.yml index 86c6df871..8af690a4c 100644 --- a/.github/workflows/update-swc.yml +++ b/.github/workflows/update-swc.yml @@ -10,7 +10,7 @@ on: - cron: '0 0 * * 1' # Every Monday at 00:00 UTC env: - NODE_VERSION: lts/* + NODE_VERSION: 22 jobs: update-swc: @@ -26,6 +26,8 @@ jobs: - name: Set up Node.js uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 + with: + node-version: ${{ env.NODE_VERSION }} - name: Check if SWC update is required id: version-check @@ -48,7 +50,7 @@ jobs: - name: Update SWC if: steps.version-check.outputs.UPDATE_REQUIRED == 'true' - run: ./tools/update-swc.sh + run: node --run build:wasm - name: Create Pull Request with first commit if: steps.version-check.outputs.UPDATE_REQUIRED == 'true'