From 2e04a4a91f63319572bc7c3abd629f133a8bb225 Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Fri, 10 Oct 2025 10:05:17 +0200 Subject: [PATCH] chore: github actions --- .github/actions/setup/action.yml | 15 +++++++-------- .github/workflows/v2-release.yml | 3 --- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 02a394fe4..6c14a170c 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -4,19 +4,18 @@ description: Install's node, pnpm, restores cache, and then installs dependencie runs: using: 'composite' steps: + # Install nodejs. https://github.com/actions/setup-node + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 18.x + # Install pnpm. https://github.com/pnpm/action-setup - uses: pnpm/action-setup@v4 with: version: 9 # run_install: false - - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version: 20.19.4 - cache: "pnpm" - registry-url: "https://registry.npmjs.org" - # Get pnpm store path so we can cache it - name: Get pnpm store directory shell: bash @@ -30,7 +29,7 @@ runs: key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-pnpm-store- - + - name: Install dependencies run: pnpm install shell: bash \ No newline at end of file diff --git a/.github/workflows/v2-release.yml b/.github/workflows/v2-release.yml index d6490ff9b..fb21527d2 100644 --- a/.github/workflows/v2-release.yml +++ b/.github/workflows/v2-release.yml @@ -18,9 +18,6 @@ jobs: - uses: ./.github/actions/setup - - name: Install dependencies - run: pnpm install - - name: Publish Pre-release to npm run: pnpm release-v2 env: