Skip to content

Improve type definitions and move tests to TS (#37) #22

Improve type definitions and move tests to TS (#37)

Improve type definitions and move tests to TS (#37) #22

Workflow file for this run

name: Code tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test-node:
name: Node integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm ci
- run: npm run test-node
test-browsers:
name: Browser integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Install dependencies
run: npm ci
- name: Install Chrome
run: npx playwright install-deps chrome
- name: Run browser tests
run: npm run test-browser
type-definitions:
name: Test type definitions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm ci
- run: npm run test-type-definitions