Skip to content

Commit 8389546

Browse files
chore(internal): run example files in CI (#1357)
1 parent a42f709 commit 8389546

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/ci.yml

+18
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,22 @@ jobs:
6464

6565
- name: Run tests
6666
run: ./scripts/test
67+
examples:
68+
name: examples
69+
runs-on: ubuntu-latest
70+
71+
steps:
72+
- uses: actions/checkout@v4
73+
74+
- name: Set up Node
75+
uses: actions/setup-node@v4
76+
with:
77+
node-version: '18'
78+
- name: Install dependencies
79+
run: |
80+
yarn install
6781
82+
- env:
83+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
84+
run: |
85+
yarn tsn examples/demo.ts

0 commit comments

Comments
 (0)