Skip to content

Commit b04a801

Browse files
chore(ci): run on more branches and use depot runners
1 parent f99e7c3 commit b04a801

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.github/workflows/ci.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
name: CI
22
on:
33
push:
4-
branches:
5-
- master
6-
pull_request:
7-
branches:
8-
- master
9-
- next
4+
branches-ignore:
5+
- 'generated'
6+
- 'codegen/**'
7+
- 'integrated/**'
8+
- 'stl-preview-head/**'
9+
- 'stl-preview-base/**'
1010

1111
jobs:
1212
lint:
1313
timeout-minutes: 10
1414
name: lint
15-
runs-on: ubuntu-latest
15+
runs-on: depot-ubuntu-24.04
1616
steps:
1717
- uses: actions/checkout@v4
1818

@@ -30,7 +30,7 @@ jobs:
3030
build:
3131
timeout-minutes: 5
3232
name: build
33-
runs-on: ubuntu-latest
33+
runs-on: depot-ubuntu-24.04
3434
permissions:
3535
contents: read
3636
id-token: write
@@ -65,7 +65,7 @@ jobs:
6565
test:
6666
timeout-minutes: 10
6767
name: test
68-
runs-on: ubuntu-latest
68+
runs-on: depot-ubuntu-24.04
6969
steps:
7070
- uses: actions/checkout@v4
7171

@@ -83,7 +83,7 @@ jobs:
8383
examples:
8484
timeout-minutes: 10
8585
name: examples
86-
runs-on: ubuntu-latest
86+
runs-on: depot-ubuntu-24.04
8787
if: github.repository == 'openai/openai-node'
8888

8989
steps:

.github/workflows/publish-jsr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
publish:
99
name: publish
10-
runs-on: ubuntu-latest
10+
runs-on: depot-ubuntu-24.04
1111
permissions:
1212
contents: read
1313
id-token: write

.github/workflows/publish-npm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
publish:
99
name: publish
10-
runs-on: ubuntu-latest
10+
runs-on: depot-ubuntu-24.04
1111
environment: publish
1212

1313
steps:

.github/workflows/release-doctor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
release_doctor:
1010
name: release doctor
11-
runs-on: ubuntu-latest
11+
runs-on: depot-ubuntu-24.04
1212
environment: publish
1313
if: github.repository == 'openai/openai-node' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1414

0 commit comments

Comments
 (0)