Skip to content

Commit

Permalink
Merge branch 'zjutjh:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
xixiIBN5100 authored Sep 5, 2024
2 parents cd35155 + 5e7b805 commit a5dba0a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "20.x"

- name: Install pnpm
run: npm install -g pnpm
Expand All @@ -34,14 +34,10 @@ jobs:
**/node_modules
key: ${{ runner.OS }}-${{ hashFiles('**/pnpm-lock.yaml') }}

- name: Clean Node Modules and Lock File
run: |
/bin/bash -c "rm -rf node_modules pnpm-lock.yaml"

- name: Clean and Install Dependencies
run: |
pnpm install --ignore-scripts
pnpm install
- name: Building
Expand Down Expand Up @@ -102,7 +98,7 @@ jobs:

- name: Installing Dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: pnpm install
run: pnpm install --ignore-scripts

- name: Building
run: |
Expand Down

0 comments on commit a5dba0a

Please sign in to comment.