File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ branches : ["main"]
6+
7+ jobs :
8+ test :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v4
13+
14+ - name : Setup Node
15+ uses : actions/setup-node@v4
16+ with :
17+ node-version : " 20"
18+ cache : " npm"
19+
20+ - name : Install dependencies
21+ run : npm ci
22+
23+ - name : Install Playwright Browsers
24+ run : npx playwright install --with-deps chromium
25+
26+ - name : Run tests
27+ run : npm test
Original file line number Diff line number Diff line change 6767 - name : Install dependencies
6868 run : ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
6969
70- - name : Install Playwright Browsers
71- run : npx playwright install --with-deps chromium
72-
73- - name : Run tests
74- run : npm test
75-
7670 - name : Build with Next.js
7771 run : ${{ steps.detect-package-manager.outputs.runner }} next build
7872 env :
You can’t perform that action at this time.
0 commit comments