File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ permissions:
55 contents : read
66
77jobs :
8- test :
8+ unit :
99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout repository
3030
3131 - name : Run module tests
3232 run : npm run test:esm
33+
34+ integration :
35+ runs-on : ubuntu-latest
36+ strategy :
37+ matrix :
38+ browser : [chromium, firefox, webkit]
39+
40+ steps :
41+ - name : Checkout repository
42+ uses : actions/checkout@v6
43+
44+ - name : Use Node.js
45+ uses : actions/setup-node@v6
46+ with :
47+ cache : npm
48+ node-version-file : .nvmrc
49+
50+ - name : Install dependencies
51+ run : npm ci --prefer-offline
52+
53+ - name : Install Playwright browsers
54+ run : npx playwright install ${{ matrix.browser == 'webkit' && '--with-deps' || '' }} ${{ matrix.browser }}
55+
56+ - name : Run browser tests on ${{ matrix.browser }}
57+ run : npx vitest run --config vitest.browser.config.mts --browser=${{ matrix.browser }}
You can’t perform that action at this time.
0 commit comments