Skip to content

Commit 592bdbe

Browse files
committed
chore: Speed up sync-releases workflow by not building packages
1 parent 6fc227b commit 592bdbe

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/actions/setup/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ inputs:
44
install:
55
default: 'true'
66
description: Whether or not to run 'pnpm install'
7+
installArgs:
8+
default: ''
9+
description: Additional args to append to "pnpm install"
710
runs:
811
using: composite
912
steps:
@@ -17,4 +20,4 @@ runs:
1720
- name: Install Dependencies
1821
if: ${{ inputs.install == 'true' }}
1922
shell: bash
20-
run: pnpm install
23+
run: pnpm install ${{ inputs.installArgs }}

.github/workflows/sync-releases.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v4
2424
- uses: ./.github/actions/setup
25+
with:
26+
installArgs: --ignore-scripts
2527
- run: pnpm tsx scripts/sync-releases.ts ${{ inputs.package }}
2628
env:
2729
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)