Skip to content

Commit

Permalink
[Chown] Use pnpm to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
CornWorld committed Dec 27, 2024
1 parent c18bbfa commit db69c65
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/updateWebsite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
pnpm install --frozen-lockfile
cd ./src/data
pnpm install
- name: Process data
run: |
node processData.js
env:
COMMITID: ${{ steps.commit.outputs.short }}
Expand All @@ -40,7 +42,7 @@ jobs:

deploy:
name: deploy to Tencent COS
needs: processData
# needs: processData
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -49,13 +51,14 @@ jobs:
with:
node-version: '22.x'
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Install dependencies & build
run: |
corepack enable pnpm
pnpm --version
- name: Install dependencies
run: |
pnpm install --frozen-lockfile
env
- name: Build
run: |
pnpm build
env:
CI: true
Expand Down

0 comments on commit db69c65

Please sign in to comment.