Skip to content

Commit d47a7ed

Browse files
chore: sync repo
1 parent 2023f2a commit d47a7ed

File tree

539 files changed

+19431
-96039
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

539 files changed

+19431
-96039
lines changed

.cursorrules

Lines changed: 0 additions & 3006 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
3+
{
4+
"name": "Development",
5+
"image": "mcr.microsoft.com/devcontainers/typescript-node:latest",
6+
"features": {
7+
"ghcr.io/devcontainers/features/node:1": {}
8+
},
9+
"postCreateCommand": "yarn install",
10+
"customizations": {
11+
"vscode": {
12+
"extensions": ["esbenp.prettier-vscode"]
13+
}
14+
}
15+
}

.dockerignore

Lines changed: 0 additions & 40 deletions
This file was deleted.

.env.example

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
name: CI
2+
on:
3+
push:
4+
branches-ignore:
5+
- 'generated'
6+
- 'codegen/**'
7+
- 'integrated/**'
8+
- 'stl-preview-head/**'
9+
- 'stl-preview-base/**'
10+
pull_request:
11+
branches-ignore:
12+
- 'stl-preview-head/**'
13+
- 'stl-preview-base/**'
14+
15+
jobs:
16+
lint:
17+
timeout-minutes: 10
18+
name: lint
19+
runs-on: ${{ github.repository == 'stainless-sdks/morphik-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
20+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
21+
steps:
22+
- uses: actions/checkout@v4
23+
24+
- name: Set up Node
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: '20'
28+
29+
- name: Bootstrap
30+
run: ./scripts/bootstrap
31+
32+
- name: Check types
33+
run: ./scripts/lint
34+
35+
build:
36+
timeout-minutes: 5
37+
name: build
38+
runs-on: ${{ github.repository == 'stainless-sdks/morphik-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
39+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
40+
permissions:
41+
contents: read
42+
id-token: write
43+
steps:
44+
- uses: actions/checkout@v4
45+
46+
- name: Set up Node
47+
uses: actions/setup-node@v4
48+
with:
49+
node-version: '20'
50+
51+
- name: Bootstrap
52+
run: ./scripts/bootstrap
53+
54+
- name: Check build
55+
run: ./scripts/build
56+
57+
- name: Get GitHub OIDC Token
58+
if: github.repository == 'stainless-sdks/morphik-typescript'
59+
id: github-oidc
60+
uses: actions/github-script@v6
61+
with:
62+
script: core.setOutput('github_token', await core.getIDToken());
63+
64+
- name: Upload tarball
65+
if: github.repository == 'stainless-sdks/morphik-typescript'
66+
env:
67+
URL: https://pkg.stainless.com/s
68+
AUTH: ${{ steps.github-oidc.outputs.github_token }}
69+
SHA: ${{ github.sha }}
70+
run: ./scripts/utils/upload-artifact.sh
71+
test:
72+
timeout-minutes: 10
73+
name: test
74+
runs-on: ${{ github.repository == 'stainless-sdks/morphik-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
75+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
76+
steps:
77+
- uses: actions/checkout@v4
78+
79+
- name: Set up Node
80+
uses: actions/setup-node@v4
81+
with:
82+
node-version: '20'
83+
84+
- name: Bootstrap
85+
run: ./scripts/bootstrap
86+
87+
- name: Run tests
88+
run: ./scripts/test

.github/workflows/claude.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)