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:
15
15
runs-on : macos-latest
16
16
steps :
17
17
- name : Checkout Branch
18
- uses : actions/checkout@v3
18
+ uses : actions/checkout@v4
19
+
19
20
- name : Setup Node
20
- uses : actions/setup-node@v3
21
+ uses : actions/setup-node@v4
21
22
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
+
25
29
- name : Run linters
26
30
run : npm run format
31
+
27
32
- name : Check if anything changed
28
33
run : |
29
34
git_status="`LC_ALL=C git status --porcelain --ignore-submodules -unormal 2>&1`"
35
40
git diff -U8
36
41
exit 1
37
42
fi
43
+
38
44
build :
39
45
name : Build
40
46
runs-on : macos-latest
@@ -45,19 +51,25 @@ jobs:
45
51
- name : Install Firefox
46
52
if : ${{ matrix.browser == 'firefox' }}
47
53
run : brew install --cask firefox
54
+
48
55
- name : Checkout Branch
49
- uses : actions/checkout@v3
56
+ uses : actions/checkout@v4
57
+
50
58
- name : Setup Node
51
- uses : actions/setup-node@v3
59
+ uses : actions/setup-node@v4
52
60
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
57
68
run : |
58
69
echo "Running in $BROWSER"
59
70
npm run test:${{ matrix.browser }}
60
- - name : Run end2end
71
+
72
+ - name : Run end2end Tests
61
73
run : |
62
74
echo "Running in $BROWSER"
63
75
npm run test-e2e:${{ matrix.browser }}
Original file line number Diff line number Diff line change 3
3
"version" : " 3.0.0-alpha" ,
4
4
"description" : " An open source repository for the Speedometer benchmark." ,
5
5
"engines" : {
6
- "node" : " >=18.13 .0" ,
6
+ "node" : " >=22.0 .0" ,
7
7
"npm" : " >=8.19.3"
8
8
},
9
9
"repository" : {
You can’t perform that action at this time.
0 commit comments