Skip to content

Commit 7a63dda

Browse files
chore(ci): run on more branches and use depot runners
1 parent 77fc320 commit 7a63dda

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

.github/workflows/ci.yml

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

1111
concurrency:
1212
group: ${{ github.workflow }}-${{ github.ref }}
@@ -16,8 +16,7 @@ jobs:
1616
lint:
1717
timeout-minutes: 10
1818
name: lint
19-
runs-on: ubuntu-latest
20-
timeout-minutes: 5
19+
runs-on: depot-ubuntu-24.04
2120
steps:
2221
- uses: actions/checkout@v4
2322

@@ -35,7 +34,7 @@ jobs:
3534
build:
3635
timeout-minutes: 5
3736
name: build
38-
runs-on: ubuntu-latest
37+
runs-on: depot-ubuntu-24.04
3938
permissions:
4039
contents: read
4140
id-token: write
@@ -70,8 +69,7 @@ jobs:
7069
test:
7170
timeout-minutes: 10
7271
name: test
73-
runs-on: ubuntu-latest
74-
timeout-minutes: 10
72+
runs-on: depot-ubuntu-24.04
7573
steps:
7674
- uses: actions/checkout@v4
7775

@@ -88,7 +86,7 @@ jobs:
8886
examples:
8987
timeout-minutes: 10
9088
name: examples
91-
runs-on: ubuntu-latest
89+
runs-on: depot-ubuntu-24.04
9290
if: github.repository == 'cloudflare/cloudflare-typescript'
9391
timeout-minutes: 5
9492

.github/workflows/publish-npm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
publish:
1313
name: publish
14-
runs-on: ubuntu-latest
14+
runs-on: depot-ubuntu-24.04
1515

1616
steps:
1717
- uses: actions/checkout@v4

.github/workflows/release-doctor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212
jobs:
1313
release_doctor:
1414
name: release doctor
15-
runs-on: ubuntu-latest
15+
runs-on: depot-ubuntu-24.04
1616
timeout-minutes: 2
1717
if: github.repository == 'cloudflare/cloudflare-typescript' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1818

0 commit comments

Comments
 (0)