Skip to content

Commit 6144ba1

Browse files
fix: update pnpm setup and cache path in CI/CD workflow
1 parent d559c3e commit 6144ba1

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
node-version: ${{ env.NODE_VERSION }}
3535

3636
- name: 📦 Setup pnpm
37-
id: pnpm-setup
3837
uses: pnpm/action-setup@v3
3938
with:
4039
version: ${{ env.PNPM_VERSION }}
@@ -44,10 +43,11 @@ jobs:
4443
shell: bash
4544
run: |
4645
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
46+
4747
- name: 💾 Setup pnpm cache
4848
uses: actions/cache@v4
4949
with:
50-
path: ${{ steps.pnpm-setup.outputs.store_path }}
50+
path: ${{ env.STORE_PATH }}
5151
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
5252
restore-keys: |
5353
${{ runner.os }}-pnpm-store-
@@ -318,14 +318,7 @@ jobs:
318318
- name: 📚 Generate fresh documentation
319319
run: pnpm run docs:build
320320

321-
- name: � Create documentation archive
322-
run: |
323-
cd docs
324-
tar -czf ../docs-archive.tar.gz .
325-
cd ..
326-
echo "📦 Documentation archive created: $(du -h docs-archive.tar.gz)"
327-
328-
- name: �🚀 Semantic Release
321+
- name: 🚀 Semantic Release
329322
env:
330323
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
331324
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)