Skip to content

Commit bdedcd3

Browse files
feat: chore: fix-ci
1 parent 93c1c76 commit bdedcd3

2,018 files changed

Lines changed: 455692 additions & 1420 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: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
- next
7+
8+
jobs:
9+
detect_breaking_changes:
10+
runs-on: 'ubuntu-latest'
11+
name: detect-breaking-changes
12+
if: github.repository == 'stainless-sdks/cloudflare-typescript'
13+
steps:
14+
- name: Calculate fetch-depth
15+
run: |
16+
echo "FETCH_DEPTH=$(expr ${{ github.event.pull_request.commits }} + 1)" >> $GITHUB_ENV
17+
18+
- uses: actions/checkout@v6
19+
with:
20+
# Ensure we can check out the pull request base in the script below.
21+
fetch-depth: ${{ env.FETCH_DEPTH }}
22+
23+
- name: Set up Node
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version: '20'
27+
- name: Install dependencies
28+
run: |
29+
yarn install
30+
31+
- name: Detect breaking changes
32+
run: |
33+
# Try to check out previous versions of the breaking change detection script. This ensures that
34+
# we still detect breaking changes when entire files and their tests are removed.
35+
git checkout "${{ github.event.pull_request.base.sha }}" -- ./scripts/detect-breaking-changes 2>/dev/null || true
36+
./scripts/detect-breaking-changes ${{ github.event.pull_request.base.sha }}

‎.stats.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 5
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5aa9b87f2faf3673b2c5848f89ab2186f2d42a556486e25e03f72697e4b4b047.yml
1+
configured_endpoints: 2010
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-06a6e3667532396c1b03aae7415d0c667206526a8798a3cef77430a2e20dba4a.yml
33
openapi_spec_hash: 6ebd38d3b7b774c2bb2913471265133b
4-
config_hash: b96968872f1a9ceb5eed05ba30917671
4+
config_hash: 82cfe5a4a27ca8b4eb41cee4987d6c77

0 commit comments

Comments
 (0)