Skip to content

Commit

Permalink
ci: add lint workflow (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored Oct 24, 2023
1 parent 70cefcb commit d3bfd85
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
lint:
name: lint
runs-on: ubuntu-latest
if: github.repository == 'openai/openai-node'

steps:
- uses: actions/checkout@v3

- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Install dependencies
run: |
yarn install
- name: Check types
run: |
yarn build

0 comments on commit d3bfd85

Please sign in to comment.