-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 834 Bytes
/
Copy pathci.yml
File metadata and controls
37 lines (34 loc) · 834 Bytes
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: CI
on:
push:
branches: [main, "v*"]
pull_request:
permissions:
contents: read
jobs:
verify:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
- uses: browser-actions/setup-chrome@v2
id: setup-chrome
- run: npm ci
- run: npm audit --audit-level=moderate
- run: npm run verify
- run: npm run test:e2e
env:
BROWSER_PATH: ${{ steps.setup-chrome.outputs.chrome-path }}
STRICT_LOCALES: "1"
- uses: actions/upload-artifact@v7
if: failure()
with:
name: browser-test-results
path: test-results/
if-no-files-found: ignore