From 7faad88b682fd03f78afd09b627cea8b4f0379fb Mon Sep 17 00:00:00 2001 From: Daniel Emery Date: Wed, 18 Dec 2024 11:49:00 +0100 Subject: [PATCH] Inline the node versions in Github actions to test if renovate can include them in it's upgrade PR --- .github/workflows/publish.yml | 3 +-- .github/workflows/validate-pr.yaml | 7 ++----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 34f6020..bcc86e9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,6 @@ permissions: env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} - NODE_VERSION: 22.10.0 jobs: build: @@ -30,7 +29,7 @@ jobs: - name: Configure node uses: actions/setup-node@v4.1.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version: 22.10.0 - name: Install packages run: npm ci diff --git a/.github/workflows/validate-pr.yaml b/.github/workflows/validate-pr.yaml index a6fee7c..261d0b2 100644 --- a/.github/workflows/validate-pr.yaml +++ b/.github/workflows/validate-pr.yaml @@ -8,9 +8,6 @@ on: permissions: contents: read -env: - NODE_VERSION: 22.10.0 - jobs: build: runs-on: ubuntu-latest @@ -21,7 +18,7 @@ jobs: - name: Configure node uses: actions/setup-node@v4.1.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version: 22.10.0 - name: Install packages run: npm ci @@ -48,7 +45,7 @@ jobs: - name: Configure node uses: actions/setup-node@v4.1.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version: 22.10.0 - name: Install packages run: npm ci