From fef5b733f358196b9035b1987b4d94fb72df0da7 Mon Sep 17 00:00:00 2001 From: ThrRip Date: Mon, 6 Nov 2023 07:00:05 +0800 Subject: [PATCH] Loosen runtime requirements for CI/CD workflows --- .github/workflows/build-deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index 656b221..8f8f3b9 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -19,18 +19,18 @@ on: jobs: build: name: Build - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 - name: Setup pnpm uses: pnpm/action-setup@v2 with: - version: 8.6 + version: 8 - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: 18.16 + node-version: lts check-latest: true cache: 'pnpm' cache-dependency-path: pnpm-lock.yaml @@ -57,7 +57,7 @@ jobs: name: Deploy to production if: github.repository == 'ThrRip/mzg.fan' && github.ref == 'refs/heads/main' needs: build - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest env: MASKING_PROD_CLOUD_SSH_HOST: ${{ secrets.PROD_CLOUD_SSH_HOST }} steps: