Skip to content

Commit 44a1aaf

Browse files
committed
ci: Add github action to automatically publish the docs
1 parent 86d8246 commit 44a1aaf

File tree

1 file changed

+5
-19
lines changed

1 file changed

+5
-19
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
with:
2323
fetch-depth: 0
2424

25+
# version isn't set
26+
# it will use the one from `packageManager` in the package.json
27+
- name: Setup pnpm
28+
uses: pnpm/action-setup@v4
29+
2530
- name: Setup Node.js
2631
uses: actions/setup-node@v5
2732
with:
@@ -31,25 +36,6 @@ jobs:
3136
- name: Setup Pages
3237
uses: actions/configure-pages@v5
3338

34-
# version isn't set
35-
# it will use the one from `packageManager` in the package.json
36-
- name: Setup pnpm
37-
uses: pnpm/action-setup@v4
38-
39-
- name: Get pnpm store directory
40-
id: pnpm-cache
41-
shell: bash
42-
run: |
43-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
44-
45-
- name: Setup pnpm cache
46-
uses: actions/cache@v4
47-
with:
48-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
49-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
50-
restore-keys: |
51-
${{ runner.os }}-pnpm-store-
52-
5339
- name: Install dependencies
5440
run: pnpm install --frozen-lockfile
5541

0 commit comments

Comments
 (0)