-
Notifications
You must be signed in to change notification settings - Fork 10
88 lines (73 loc) · 1.92 KB
/
Copy pathci.yml
File metadata and controls
88 lines (73 loc) · 1.92 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name: CI
on:
push:
branches:
- main
- master
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
name: Clean checkout Node ${{ matrix.node-version }}
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
node-version:
- 22
- 24
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Run clean-checkout validation
run: npm run check
browser:
name: Browser ${{ matrix.browser }}
runs-on: ubuntu-latest
timeout-minutes: 15
container:
image: mcr.microsoft.com/playwright:v1.62.1-noble
options: --user 1001 --ipc=host
strategy:
fail-fast: false
matrix:
browser:
- chromium
- firefox
- webkit
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'
- name: Prepare pinned HDF5 browser fixture
run: npm run fixtures:hdf5:prepare
- name: Install pinned scientific browser competitors
run: npm ci --prefix benchmark/competitors-js --no-fund --no-audit
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'
- name: Run browser compatibility gate
run: npm run browser:test -- --project=${{ matrix.browser }}