From bf2fd1fb486ef54310039a1e85fde85c50ab4358 Mon Sep 17 00:00:00 2001 From: WindRunnerMax <651525974@qq.com> Date: Wed, 16 Oct 2024 18:43:09 +0800 Subject: [PATCH] fix: ubuntu version --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f0d330c6d..549b4d2fcb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,8 @@ permissions: jobs: ci: name: ${{ matrix.command }} - runs-on: ubuntu-latest + # Pin the version to avoid dependency installation issues + runs-on: ubuntu-22.04 strategy: matrix: command: @@ -31,6 +32,6 @@ jobs: key: node20 - name: Run ${{ matrix.command }} - run: export YARN_ENABLE_IMMUTABLE_INSTALLS=false && yarn && yarn build && yarn ${{ matrix.command }} + run: yarn && yarn build && yarn ${{ matrix.command }} env: CI: true