File tree Expand file tree Collapse file tree 3 files changed +26
-14
lines changed Expand file tree Collapse file tree 3 files changed +26
-14
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,20 @@ jobs:
1515 runs-on : macos-latest
1616 steps :
1717 - name : Checkout Branch
18- uses : actions/checkout@v3
18+ uses : actions/checkout@v4
19+
1920 - name : Setup Node
20- uses : actions/setup-node@v3
21+ uses : actions/setup-node@v4
2122 with :
22- node-version : 18.13.0
23- - name : Install
24- run : npm install
23+ node-version-file : " package.json"
24+ cache : " npm"
25+
26+ - name : Install Node Packages
27+ run : npm ci
28+
2529 - name : Run linters
2630 run : npm run format
31+
2732 - name : Check if anything changed
2833 run : |
2934 git_status="`LC_ALL=C git status --porcelain --ignore-submodules -unormal 2>&1`"
3540 git diff -U8
3641 exit 1
3742 fi
43+
3844 build :
3945 name : Build
4046 runs-on : macos-latest
@@ -45,19 +51,25 @@ jobs:
4551 - name : Install Firefox
4652 if : ${{ matrix.browser == 'firefox' }}
4753 run : brew install --cask firefox
54+
4855 - name : Checkout Branch
49- uses : actions/checkout@v3
56+ uses : actions/checkout@v4
57+
5058 - name : Setup Node
51- uses : actions/setup-node@v3
59+ uses : actions/setup-node@v4
5260 with :
53- node-version : 18.13.0
54- - name : Install
55- run : npm install
56- - name : Run tests
61+ node-version-file : " package.json"
62+ cache : " npm"
63+
64+ - name : Install Node Packages
65+ run : npm ci
66+
67+ - name : Run Unit Tests
5768 run : |
5869 echo "Running in $BROWSER"
5970 npm run test:${{ matrix.browser }}
60- - name : Run end2end
71+
72+ - name : Run end2end Tests
6173 run : |
6274 echo "Running in $BROWSER"
6375 npm run test-e2e:${{ matrix.browser }}
Original file line number Diff line number Diff line change 33 "version" : " 3.0.0-alpha" ,
44 "description" : " An open source repository for the Speedometer benchmark." ,
55 "engines" : {
6- "node" : " >=18.13 .0" ,
6+ "node" : " >=22.0 .0" ,
77 "npm" : " >=8.19.3"
88 },
99 "repository" : {
You can’t perform that action at this time.
0 commit comments