Skip to content

Commit 0cc2b04

Browse files
authored
fix: keep skipped publish workflow cache cleanup green (#1470)
* chore: validate actions via PR merge * fix: keep skipped publish workflow cache cleanup green * chore: drop release script tests * fix: simplify publish workflow cache handling * fix: install dependencies before release planning --------- Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
1 parent 712ab37 commit 0cc2b04

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
cache: pnpm
4848
registry-url: https://registry.npmjs.org
4949

50+
- name: Install dependencies
51+
run: pnpm install --frozen-lockfile
52+
5053
- name: Prepare release metadata
5154
id: release
5255
env:
@@ -63,10 +66,6 @@ jobs:
6366
echo "latest npm version: ${{ steps.release.outputs.latest_npm_version }}"
6467
echo "reason: ${{ steps.release.outputs.release_reason }}"
6568
66-
- name: Install dependencies
67-
if: steps.release.outputs.should_publish_package == 'true'
68-
run: pnpm install --frozen-lockfile
69-
7069
- name: Publish package
7170
if: steps.release.outputs.should_publish_package == 'true'
7271
run: npm publish --provenance --access public

0 commit comments

Comments
 (0)