Skip to content

Commit 8025bfc

Browse files
stainless-botRobertCraigie
authored andcommitted
ci: add lint workflow (#401)
1 parent 2bc14ce commit 8025bfc

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
10+
jobs:
11+
lint:
12+
name: lint
13+
runs-on: ubuntu-latest
14+
if: github.repository == 'openai/openai-node'
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
19+
- name: Set up Node
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: '16'
23+
24+
- name: Install dependencies
25+
run: |
26+
yarn install
27+
28+
- name: Check types
29+
run: |
30+
yarn build

0 commit comments

Comments
 (0)