-
Notifications
You must be signed in to change notification settings - Fork 46
57 lines (51 loc) · 1.39 KB
/
verify.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Verify changes
on: pull_request
jobs:
verify:
name: Verify changes
runs-on: ubuntu-latest
strategy:
matrix:
project:
[
lit-element,
lit-element-ts-esbuild,
lit-element-ts-tsc,
html-test,
preact-htm,
preact-jsx,
preact-tsx,
puppeteer,
playwright,
import-maps,
mock-es-module,
visual-regression,
saucelabs,
guides/test-runner/getting-started,
guides/test-runner/watch-and-debug,
guides/test-runner/playwright,
guides/test-runner/responsive,
guides/test-runner/typescript,
react-htm,
react-jsx,
react-tsx,
snowpack-lit,
snowpack-react,
snowpack-svelte,
]
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 14
- uses: microsoft/playwright-github-action@v1
- name: Install dependencies
working-directory: ${{ matrix.project }}
run: npm ci
- name: Test
working-directory: ${{ matrix.project }}
run: npm run test
env:
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}