File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ lint :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ - name : Use Node.js 22
15+ uses : actions/setup-node@v4
16+ with :
17+ node-version : ' 22'
18+ cache : ' npm'
19+ - name : Install dependencies
20+ run : npm ci
21+ - run : npm run build
22+ - name : Run ESLint
23+ run : npm run lint
24+ - name : Ensure no changes
25+ run : git diff --exit-code
26+
27+ test :
28+ strategy :
29+ fail-fast : false
30+ matrix :
31+ os : [ubuntu-latest, macos-latest, windows-latest]
32+ runs-on : ${{ matrix.os }}
33+ steps :
34+ - uses : actions/checkout@v4
35+ - name : Use Node.js 22
36+ uses : actions/setup-node@v4
37+ with :
38+ # https://github.com/microsoft/playwright-mcp/issues/344
39+ node-version : ' 22'
40+ cache : ' npm'
41+ - name : Install dependencies
42+ run : npm ci
43+ - name : Build
44+ run : npm run build
45+ - name : Run tests
46+ run : npm test
You can’t perform that action at this time.
0 commit comments