chore: enhance GitHub Actions workflow for website deployment by adding setup steps for pnpm and Node.js to ensure consistent environment configuration

This commit is contained in:
jinmingyang
2026-01-19 14:04:15 +08:00
parent acc97a3941
commit f40ab6c117
+20
View File
@@ -78,6 +78,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Download build artifact
uses: actions/download-artifact@v4
with:
@@ -104,6 +114,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Download build artifact
uses: actions/download-artifact@v4
with: