From ba904a60c31016d6d36b6170274a4c02ee3f277e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Fri, 20 Sep 2024 13:11:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E8=B0=83=E6=95=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-and-release.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index c5e1f16..4b3723c 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -10,20 +10,14 @@ on: jobs: # job 1 build-and-upload: - runs-on: ${{ matrix.os }} + runs-on: ${{ matrix.os }}-latest strategy: fail-fast: false matrix: os: [ - windows-latest, - ubuntu-latest, - macos-latest - ] - node: [ - 16 - ] - lerna: [ - 6 + windows, + ubuntu, + macos ] steps: - name: "Checkout" @@ -32,7 +26,7 @@ jobs: - name: "Setup Node.js environment" uses: actions/setup-node@v4.0.3 with: - node-version: ${{ matrix.node }} + node-version: 16 registry-url: https://npm.pkg.github.com/ - name: "Get package info" @@ -51,9 +45,9 @@ jobs: - name: "npm install lerna/yarn -g" run: | echo "======================================================================"; - echo "npm install lerna@${{ matrix.lerna }} -g"; + echo "npm install lerna@6 -g"; echo "--------------------"; - npm install lerna@${{ matrix.lerna }} -g; + npm install lerna@6 -g; echo "======================================================================"; echo "npm install yarn -g";