From 3d0aab37c11b8ab32cbaf6ffcd5e3bb5ca7e990f Mon Sep 17 00:00:00 2001 From: Dhemy Date: Sun, 12 Jul 2026 16:30:31 +0200 Subject: [PATCH] chore: fix cd workflow --- .github/workflows/cd.yml | 6 ++++-- .github/workflows/ci.yml | 2 +- .github/workflows/publish-component.yml | 3 +-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index c63b733..f6891d3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -25,11 +25,13 @@ jobs: ref: ${{ github.event_name == 'release' && github.event.release.tag_name || inputs.release_tag }} - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: '24' cache: 'npm' - registry-url: 'https://registry.npmjs.org' + + - name: Install dependencies + run: npm ci - name: Select release tag id: release diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f806e45..045e7e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: uses: actions/checkout@v5 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: '24' cache: 'npm' diff --git a/.github/workflows/publish-component.yml b/.github/workflows/publish-component.yml index 0f516a6..2ec6000 100644 --- a/.github/workflows/publish-component.yml +++ b/.github/workflows/publish-component.yml @@ -33,10 +33,9 @@ jobs: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: '24' - registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: npm install --package-lock=false