Skip to content

Commit

Permalink
Merge pull request #1 from tolgaand/ci/add-github-actions-tests
Browse files Browse the repository at this point in the history
ci: add SDK integration test workflow
  • Loading branch information
tolgaand authored Jan 2, 2025
2 parents 0703c23 + c46b265 commit 1087ee6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: SDK Integration Tests

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test
env:
OPENSERV_API_KEY: test-key

0 comments on commit 1087ee6

Please sign in to comment.