Skip to content

Commit 36b65ad

Browse files
committed
ci: update
1 parent 9258c97 commit 36b65ad

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,33 @@ jobs:
1818
Deploy-Deployment:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v4
22-
- name: Setup Continuous integration
23-
uses: ./.github/cache
21+
- name: Install Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: 20
25+
26+
- uses: pnpm/action-setup@v4
27+
28+
- name: Get pnpm store directory
29+
shell: bash
30+
run: |
31+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
32+
33+
- uses: actions/cache@v4
34+
name: Setup pnpm cache
35+
with:
36+
path: ${{ env.STORE_PATH }}
37+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
38+
restore-keys: |
39+
${{ runner.os }}-pnpm-store-
40+
41+
- name: Enable corepack
42+
run: corepack enable
43+
44+
- name: Install dependencies
45+
run: pnpm install
46+
shell: bash
47+
2448
- name: Install Vercel CLI
2549
run: pnpm install --global vercel@latest
2650
- name: Pull Vercel Environment Information

0 commit comments

Comments
 (0)