Skip to content

SDK API Tests

SDK API Tests #1

Workflow file for this run

name: SDK API Tests
on: workflow_dispatch
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.49.0-jammy
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Install dependencies
run: pnpm install
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# - name: Install Playwright Browsers
# run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: pnpm test:sdk
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: sdk-api-tests-report
path: playwright-report/
retention-days: 30