From ed1a3d9d384665ad057df0168b3696479a6265e4 Mon Sep 17 00:00:00 2001 From: MengNianxiaoyao <2589141604@qq.com> Date: Mon, 1 Jan 2024 15:54:42 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E7=AE=80=E5=8C=96=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c1fa14c..68b75844 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,8 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v2 + with: + run_install: true - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 @@ -46,9 +48,6 @@ jobs: registry-url: https://registry.npmjs.org/ cache: pnpm - - name: Install Dependencies - run: pnpm install - - name: Build run: pnpm build From 3e4305d90e11745c5d140fee4cdd6c3de017185d Mon Sep 17 00:00:00 2001 From: MengNianxiaoyao <2589141604@qq.com> Date: Mon, 1 Jan 2024 15:59:39 +0800 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20=E4=BC=98=E5=8C=96=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68b75844..dc95a51f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,28 +26,18 @@ jobs: run: pnpm run lint build: - runs-on: ${{ matrix.os }} - - strategy: - matrix: - node-version: [18.17.0] - os: [ubuntu-latest] - + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - - name: Install pnpm - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v2 + - uses: actions/setup-node@v3 with: - run_install: true - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - registry-url: https://registry.npmjs.org/ + node-version: 18.17.0 cache: pnpm + - name: Install + run: pnpm install + - name: Build run: pnpm build