From e5db4ab7b1404880839584e0fbb085b425eff42c Mon Sep 17 00:00:00 2001 From: JamesCurtis <49338067+james-curtis@users.noreply.github.com> Date: Thu, 25 Aug 2022 16:11:13 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E5=88=A0=E9=99=A4=E6=97=A0=E4=BD=9C?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yml | 12 ------------ .github/workflows/deploy-editor.yml | 12 ------------ .github/workflows/deploy-preview.yml | 12 ------------ .github/workflows/test-unit.yml | 15 --------------- 4 files changed, 51 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index b854a00..bda05d0 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -37,18 +37,6 @@ jobs: registry-url: https://registry.npmjs.com/ cache: 'pnpm' - - name: Cache ~/.pnpm-store - uses: actions/cache@v3 - env: - cache-name: cache-pnpm-store - with: - path: ~/.pnpm-store - key: ${{ runner.os }}-${{ matrix.node-version }}-deploy-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.node-version }}-deploy-${{ env.cache-name }}- - ${{ runner.os }}-${{ matrix.node-version }}-deploy- - ${{ runner.os }}- - - name: Install dependencies run: pnpm i --frozen-lockfile diff --git a/.github/workflows/deploy-editor.yml b/.github/workflows/deploy-editor.yml index 998f6e8..0177701 100644 --- a/.github/workflows/deploy-editor.yml +++ b/.github/workflows/deploy-editor.yml @@ -37,18 +37,6 @@ jobs: registry-url: https://registry.npmjs.com/ cache: 'pnpm' - - name: Cache ~/.pnpm-store - uses: actions/cache@v3 - env: - cache-name: cache-pnpm-store - with: - path: ~/.pnpm-store - key: ${{ runner.os }}-${{ matrix.node-version }}-deploy-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.node-version }}-deploy-${{ env.cache-name }}- - ${{ runner.os }}-${{ matrix.node-version }}-deploy- - ${{ runner.os }}- - - name: Install dependencies run: pnpm i --frozen-lockfile diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index b43ad09..fd00dca 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -37,18 +37,6 @@ jobs: registry-url: https://registry.npmjs.com/ cache: 'pnpm' - - name: Cache ~/.pnpm-store - uses: actions/cache@v3 - env: - cache-name: cache-pnpm-store - with: - path: ~/.pnpm-store - key: ${{ runner.os }}-${{ matrix.node-version }}-deploy-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.node-version }}-deploy-${{ env.cache-name }}- - ${{ runner.os }}-${{ matrix.node-version }}-deploy- - ${{ runner.os }}- - - name: Install dependencies run: pnpm i --frozen-lockfile diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index 0ef9427..8ae43e4 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -27,9 +27,6 @@ jobs: with: fetch-depth: 0 - # - name: Add dev branch - # run: git branch dev origin/main - - name: Setup pnpm uses: pnpm/action-setup@v2 @@ -39,18 +36,6 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'pnpm' - - name: Cache ~/.pnpm-store - uses: actions/cache@v3 - env: - cache-name: cache-pnpm-store - with: - path: ~/.pnpm-store - key: ${{ runner.os }}-${{ matrix.node-version }}-deploy-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.node-version }}-deploy-${{ env.cache-name }}- - ${{ runner.os }}-${{ matrix.node-version }}-deploy- - ${{ runner.os }}- - - name: Install dependencies run: pnpm i --frozen-lockfile