Skip to content

production-ready SDK with corrected API and examples #8

production-ready SDK with corrected API and examples

production-ready SDK with corrected API and examples #8

Workflow file for this run

name: Test
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 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'
- run: npm ci
- run: npm run lint
- run: npm run type-check
- run: npm run build
- run: npm test
- name: Upload coverage reports
uses: codecov/codecov-action@v3
if: matrix.node-version == '18.x'
---