File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ push :
8+ branches :
9+ - main
10+
11+ jobs :
12+ test :
13+ name : Run Tests (Node.js ${{ matrix.node-version }})
14+ runs-on : ubuntu-latest
15+
16+ strategy :
17+ matrix :
18+ node-version : [20, 22, 24]
19+
20+ steps :
21+ - name : Checkout Repo
22+ uses : actions/checkout@v5
23+
24+ - name : Setup pnpm
25+ uses : pnpm/action-setup@v4
26+
27+ - name : Setup Node.js ${{ matrix.node-version }}
28+ uses : actions/setup-node@v6
29+ with :
30+ node-version : ${{ matrix.node-version }}
31+
32+ - name : Install Dependencies
33+ run : pnpm i
34+
35+ - name : Install Playwright Browsers
36+ run : pnpm --filter @repo/elements exec playwright install --with-deps chromium
37+
38+ - name : Run Tests
39+ run : pnpm test
You can’t perform that action at this time.
0 commit comments