Skip to content

Commit fc68bdf

Browse files
Merge branch 'master' into master
2 parents 55adb17 + 868f65f commit fc68bdf

101 files changed

Lines changed: 625 additions & 107 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Set up pnpm
2+
description: Install pnpm and configure repository package-age policy before any install
3+
inputs:
4+
run_install:
5+
description: Run pnpm install after configuring pnpm
6+
required: false
7+
default: "false"
8+
runs:
9+
using: composite
10+
steps:
11+
- uses: pnpm/action-setup@v4
12+
13+
- name: Configure pnpm package age policy
14+
shell: bash
15+
run: pnpm config set --global minimumReleaseAge 1440
16+
17+
- name: Install dependencies
18+
if: inputs.run_install == 'true'
19+
shell: bash
20+
run: pnpm install

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
with:
8181
node-version: 18
8282

83-
- uses: pnpm/action-setup@v4
83+
- uses: ./.github/actions/setup-pnpm
8484
with:
8585
run_install: true
8686

@@ -221,7 +221,7 @@ jobs:
221221
with:
222222
node-version: 22
223223

224-
- uses: pnpm/action-setup@v4
224+
- uses: ./.github/actions/setup-pnpm
225225
with:
226226
run_install: true
227227

@@ -297,7 +297,7 @@ jobs:
297297
with:
298298
node-version: 22
299299

300-
- uses: pnpm/action-setup@v4
300+
- uses: ./.github/actions/setup-pnpm
301301
with:
302302
run_install: true
303303

@@ -524,7 +524,7 @@ jobs:
524524
with:
525525
node-version: 22
526526

527-
- uses: pnpm/action-setup@v4
527+
- uses: ./.github/actions/setup-pnpm
528528
with:
529529
run_install: true
530530

@@ -1063,7 +1063,7 @@ jobs:
10631063
with:
10641064
node-version: '22'
10651065

1066-
- uses: pnpm/action-setup@v4
1066+
- uses: ./.github/actions/setup-pnpm
10671067
with:
10681068
run_install: true
10691069

@@ -1100,7 +1100,7 @@ jobs:
11001100
with:
11011101
node-version: 22
11021102

1103-
- uses: pnpm/action-setup@v4
1103+
- uses: ./.github/actions/setup-pnpm
11041104
with:
11051105
run_install: true
11061106

@@ -1212,7 +1212,7 @@ jobs:
12121212
uses: actions/setup-node@v4
12131213
with:
12141214
node-version: 20
1215-
- uses: pnpm/action-setup@v4
1215+
- uses: ./.github/actions/setup-pnpm
12161216
with:
12171217
run_install: true
12181218
- name: Verify that upgrade-version still works

.github/workflows/docs-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
node-version: '22'
2222

23-
- uses: pnpm/action-setup@v4
23+
- uses: ./.github/actions/setup-pnpm
2424
with:
2525
run_install: true
2626

.github/workflows/docs-update-llms.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
node-version: '22'
2828

29-
- uses: pnpm/action-setup@v4
29+
- uses: ./.github/actions/setup-pnpm
3030
with:
3131
run_install: true
3232

.github/workflows/llm-benchmark-periodic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
node-version: 22
7171

7272
- name: Install pnpm
73-
uses: pnpm/action-setup@v4
73+
uses: ./.github/actions/setup-pnpm
7474

7575
- name: Build llm-benchmark tool
7676
run: cargo install --path tools/xtask-llm-benchmark --locked

.github/workflows/llm-benchmark-validate-goldens.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565

6666
- name: Install pnpm
6767
if: matrix.lang == 'typescript'
68-
uses: pnpm/action-setup@v4
68+
uses: ./.github/actions/setup-pnpm
6969

7070
- name: Build llm-benchmark tool
7171
run: cargo install --path tools/xtask-llm-benchmark --locked

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
minimum-release-age=1440

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/bindings-typescript/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
minimum-release-age=1440
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
minimum-release-age=1440

0 commit comments

Comments
 (0)