Skip to content

Commit 80d5ee8

Browse files
authored
Merge pull request #617 from preactjs/remove-release-dependency-cache
Remove dependency cache from release workflow
2 parents 2eddd56 + 84f0140 commit 80d5ee8

1 file changed

Lines changed: 2 additions & 28 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,8 @@ jobs:
3636
version: 10
3737
run_install: false
3838

39-
- name: Get pnpm store directory
40-
id: pnpm-store
41-
run: echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
42-
43-
- name: Use pnpm store
44-
uses: actions/cache@v4
45-
id: pnpm-cache
46-
with:
47-
path: ${{ steps.pnpm-store.outputs.pnpm_cache_dir }}
48-
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
49-
restore-keys: |
50-
${{ runner.os }}-pnpm-
51-
5239
- name: Install Dependencies
53-
run: pnpm install --frozen-lockfile false --prefer-offline
40+
run: pnpm install --frozen-lockfile false
5441

5542
- name: Create Release Pull Request
5643
id: changesets
@@ -94,21 +81,8 @@ jobs:
9481
version: 10
9582
run_install: false
9683

97-
- name: Get pnpm store directory
98-
id: pnpm-store
99-
run: echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
100-
101-
- name: Use pnpm store
102-
uses: actions/cache@v4
103-
id: pnpm-cache
104-
with:
105-
path: ${{ steps.pnpm-store.outputs.pnpm_cache_dir }}
106-
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
107-
restore-keys: |
108-
${{ runner.os }}-pnpm-
109-
11084
- name: Install Dependencies
111-
run: pnpm install --frozen-lockfile false --prefer-offline
85+
run: pnpm install --frozen-lockfile false
11286

11387
- name: Publish packages
11488
uses: changesets/action@v1.5.3

0 commit comments

Comments
 (0)