From 34abc3526efc2cb611818d241c75ccbd4b536fda Mon Sep 17 00:00:00 2001 From: cqh963852 Date: Thu, 17 Jul 2025 00:13:02 +0800 Subject: [PATCH] chore: update ci config --- .github/workflows/deploy.yml | 2 +- .github/workflows/test-deploy.yml | 21 --------------------- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 .github/workflows/test-deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index eb932e2..c4b31d7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,7 +17,7 @@ jobs: - name: Build website working-directory: ./ run: | - yarn install --frozen-lockfile + yarn install --immutable yarn build # Popular action to deploy to GitHub Pages: diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml deleted file mode 100644 index 3a455fa..0000000 --- a/.github/workflows/test-deploy.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Test deployment - -on: - pull_request: - branches: [main] - -jobs: - test-deploy: - name: Test deployment - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@@v4 - - uses: actions/setup-node@@v4 - with: - node-version: 20.x - cache: yarn - - name: Test build - working-directory: ./ - run: | - yarn install --frozen-lockfile - yarn build