Skip to content

Commit

Permalink
chore(ci): no pnpm store cache (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc authored Nov 5, 2024
1 parent 3f0e76f commit dff583c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 20 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ jobs:
with:
version: 8

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
# - name: Get pnpm store directory
# shell: bash
# run: |
# echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

# - uses: actions/cache@v3
# name: Setup pnpm cache
# with:
# path: ${{ env.STORE_PATH }}
# key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
# restore-keys: |
# ${{ runner.os }}-pnpm-store-

- name: Install dependencies
run: |
Expand Down
8 changes: 0 additions & 8 deletions examples/hackernews/src/pages/__root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,6 @@ export const Route = createRootRoute({
target="_blank"
>
Tnf
</a>{' '}
and{' '}
<a
rel="noopener noreferrer"
href="https://github.com/umijs/mako"
target="_blank"
>
Mako
</a>
</span>
</div>
Expand Down

0 comments on commit dff583c

Please sign in to comment.