Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: replace airtap with wtr #1722

Merged
merged 22 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/browser-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Browser Tests

on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
browser:
runs-on: ubuntu-latest
container: mcr.microsoft.com/playwright:v1.39.0 # https://playwright.dev/docs/ci-intro#via-containers
strategy:
matrix:
node-version: [20.x]
fail-fast: false

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install Dependencies
run: npm ci

- name: Test Browser
# only run on latest node version, no reason to run on all
timeout-minutes: 2
env:
HOME: /root
run: |
npm run unit-test:browser



7 changes: 0 additions & 7 deletions .github/workflows/mqttjs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ jobs:
CI: true
DEBUG: "${{ runner.debug == '1' && 'mqttjs:*' || '' }}"

- name: Test Browser
if: matrix.node-version == '20.x'
# only run on latest node version, no reason to run on all
timeout-minutes: 2
run: |
npm run build:browser
npm run unit-test:browser



Loading
Loading