From 017e28b1f8bcf48ebe9228eac4b2f54214b355de Mon Sep 17 00:00:00 2001 From: DevContainer User Date: Wed, 4 Mar 2026 01:09:30 +0000 Subject: [PATCH] fix: move Node.js setup before npm version in release workflow Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9f7eea4..db8db0a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -35,6 +35,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '22' + cache: 'npm' + - name: Configure Git run: | git config user.name "github-actions[bot]" @@ -51,12 +57,6 @@ jobs: sed -i "s/^version:.*/version: \"${VERSION}\"/" artifacthub-pkg.yml sed -i "s|headlamp/plugin/archive-url:.*|headlamp/plugin/archive-url: \"${RELEASE_URL}\"|" artifacthub-pkg.yml - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '22' - cache: 'npm' - - name: Install dependencies run: npm ci