Skip to content

test: run tests against firefox and webdriverio too #10

test: run tests against firefox and webdriverio too

test: run tests against firefox and webdriverio too #10

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-and-cache
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: pnpm install
- name: Build
run: pnpm build
- name: Lint
run: pnpm lint
- name: Typecheck
run: pnpm typecheck
- name: Install Playwright Dependencies
run: pnpm exec playwright install chromium --with-deps
- name: Test
run: pnpm test
publish-preview:
runs-on: ubuntu-latest
if: ${{ false }} # TODO: Set up preview deployments
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
- uses: ./.github/actions/setup-and-cache
with:
node-version: 22
- name: Install & Build & Publish
run: |
pnpm install
pnpm build
npx pkg-pr-new publish