Skip to content

Commit 85e19b1

Browse files
authored
chore: replace airtap with wtr (#1722)
1 parent 92a9646 commit 85e19b1

File tree

9 files changed

+18402
-12743
lines changed

9 files changed

+18402
-12743
lines changed

.github/workflows/browser-tests.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Browser Tests
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ main ]
7+
pull_request:
8+
branches: [ main ]
9+
10+
jobs:
11+
browser:
12+
runs-on: ubuntu-latest
13+
container: mcr.microsoft.com/playwright:v1.39.0 # https://playwright.dev/docs/ci-intro#via-containers
14+
strategy:
15+
matrix:
16+
node-version: [20.x]
17+
fail-fast: false
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
cache: 'npm'
26+
27+
- name: Install Dependencies
28+
run: npm ci
29+
30+
- name: Test Browser
31+
# only run on latest node version, no reason to run on all
32+
timeout-minutes: 2
33+
env:
34+
HOME: /root
35+
run: |
36+
npm run unit-test:browser
37+
38+
39+

.github/workflows/mqttjs-test.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,6 @@ jobs:
4444
CI: true
4545
DEBUG: "${{ runner.debug == '1' && 'mqttjs:*' || '' }}"
4646

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

5548

5649

0 commit comments

Comments
 (0)