File tree Expand file tree Collapse file tree 2 files changed +5
-22
lines changed
Expand file tree Collapse file tree 2 files changed +5
-22
lines changed Original file line number Diff line number Diff line change 2424 node_modules
2525 key : modules-${{ hashFiles('package-lock.json') }}
2626
27- - name : Cache Playwright Binaries
28- id : cache-playwright
29- uses : actions/cache@v4
30- with :
31- path : |
32- ~/.cache/ms-playwright
33- key : playwright-${{ hashFiles('package-lock.json') }}
34-
3527 - name : Install dependencies
3628 if : steps.cache-node-modules.outputs.cache-hit != 'true'
3729 run : npm ci
3830 shell : bash
39-
40- - name : Install playwright browsers
41- if : steps.cache-playwright.outputs.cache-hit != 'true'
42- run : npx playwright install --with-deps
43- shell : bash
44-
45- - name : Install system dependencies for WebKit
46- # Some WebKit dependencies seem to lay outside the cache and will need to be installed separately
47- if : steps.cache-playwright.outputs.cache-hit == 'true'
48- run : npx playwright install-deps webkit
49- shell : bash
Original file line number Diff line number Diff line change 11name : Test
22on : [push, pull_request, workflow_dispatch]
33
4- permissions :
5- contents : read
6-
74jobs :
85 test :
96 runs-on : ubuntu-latest
7+
108 steps :
119 - name : Checkout
1210 uses : actions/checkout@v4
1311
1412 - uses : ./.github/actions/setup-node-env
1513
14+ - name : Run ESLint checks
15+ run : npm run-script lint
16+
1617 - name : Build
1718 run : npm run-script build
19+
1820 - name : Run unit tests
1921 run : npm run-script test
You can’t perform that action at this time.
0 commit comments