Skip to content

Commit 07b017d

Browse files
committed
chore: use dist mirror for self hosted mac
1 parent e28e40e commit 07b017d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/actions/pnpm/setup/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ runs:
1515
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1616
with:
1717
node-version: ${{ inputs.node-version }}
18+
mirror: ${{ runner.environment == 'self-hosted' && runner.os == 'Darwin' && 'https://npmmirror.com/mirrors/node' || '' }}
1819

1920
- name: Enable corepack
2021
if: ${{ inputs.node-version != '16' }}

.github/workflows/reusable-build-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
path: crates/node_binding/
3636

3737
- name: Setup Pnpm
38+
timeout-minutes: 5
3839
uses: ./.github/actions/pnpm/setup
3940
with:
4041
node-version: 20

0 commit comments

Comments
 (0)