-
-
Notifications
You must be signed in to change notification settings - Fork 8
37 lines (37 loc) · 993 Bytes
/
test.yaml
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
- nuxt
- nextjs
- create-react-app
- stencil-component-starter
- ionic-react
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- 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