-
-
Notifications
You must be signed in to change notification settings - Fork 10
37 lines (37 loc) · 1.03 KB
/
test.yaml
File metadata and controls
37 lines (37 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
exampleDir:
- lit-typescript-vite
- preact-typescript-vite
- react-typescript-vite
- svelte-typescript-vite
- vue-typescript-vite
- solidjs-typescript-vite
- enhance
# disable due to: https://github.com/webdriverio/webdriverio/issues/14160
# - nuxt
# - nextjs
- stencil-component-starter
- ionic-react
steps:
- name: Checkout
uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 22
- name: Install
run: npm install
working-directory: ${{ matrix.exampleDir }}
- name: Test
run: npm run wdio
working-directory: ${{ matrix.exampleDir }}
- uses: actions/upload-artifact@v4
if: failure()
with:
name: logs
path: ${{ matrix.exampleDir }}/logs