From 4ee2e49b27979fdd2ad14f0efa18f940d52ec671 Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Wed, 25 Feb 2026 16:22:27 +0100 Subject: [PATCH] feat: Install nodejs dependencies when syncing external patches, b=no-bug, c=workflows --- .github/workflows/sync-external-patches.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync-external-patches.yml b/.github/workflows/sync-external-patches.yml index 0c3ef5df7..d71edd306 100644 --- a/.github/workflows/sync-external-patches.yml +++ b/.github/workflows/sync-external-patches.yml @@ -19,7 +19,12 @@ jobs: uses: actions/setup-python@v5 # note: This will use the version defined in '.python-version' by defaultç - - name: Install dependencies + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version-file: ".nvmrc" + + - name: Setup git run: | git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com" @@ -36,6 +41,10 @@ jobs: echo "files_changed=false" >> $GITHUB_OUTPUT fi + - name: Install dependencies + if: steps.git-check.outputs.files_changed == 'true' + run: npm ci + - name: Download Firefox and dependencies if: steps.git-check.outputs.files_changed == 'true' run: npm run download