Skip to content

SDK API Tests

SDK API Tests #19

Workflow file for this run

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