2222 - macos-latest
2323 - windows-latest
2424 node :
25- - 16
26- # - 18 TODO bring this back
25+ - 20
2726
2827 steps :
2928 - name : Checkout source
3332 uses : actions/setup-node@v3
3433 with :
3534 node-version : ${{ matrix.node }}
36- cache : ' npm'
35+ cache : " npm"
3736
3837 - name : Install dependencies
3938 run : npm ci
@@ -53,52 +52,13 @@ jobs:
5352 github-token : ${{ secrets.GITHUB_TOKEN }}
5453 parallel : true
5554
56- browser_tests :
57- name : Browser Tests
58- runs-on : ${{ matrix.os }}
59- timeout-minutes : 10
60- strategy :
61- fail-fast : true
62- matrix :
63- os :
64- - ubuntu-latest # Chrome, Firefox, Safari (TODO)
65- # - windows-latest # Internet Explorer, Edge
66-
67- steps :
68- - name : Checkout source
69- uses : actions/checkout@v3
70-
71- - name : Install Node
72- uses : actions/setup-node@v3
73- with :
74- node-version : 12
75- cache : ' npm'
76-
77- - name : Install dependencies
78- run : npm ci
79-
80- - name : Run tests
81- run : npm run coverage:browser
82-
83- - name : Combine code coverage data into a single file
84- shell : bash
85- run : |
86- ls -Rlh coverage/*/lcov.info
87- cat coverage/*/lcov.info > ./coverage/lcov.info
88-
89- - name : Send code coverage results to Coveralls
90- uses : coverallsapp/github-action@v1.1.0
91- with :
92- github-token : ${{ secrets.GITHUB_TOKEN }}
93- parallel : true
9455
9556 coverage :
9657 name : Code Coverage
9758 runs-on : ubuntu-latest
9859 timeout-minutes : 10
9960 needs :
10061 - node_tests
101- - browser_tests
10262 steps :
10363 - name : Let Coveralls know that all tests have finished
10464 uses : coverallsapp/github-action@v1.1.0
@@ -113,17 +73,16 @@ jobs:
11373 timeout-minutes : 10
11474 needs :
11575 - node_tests
116- - browser_tests
11776
11877 steps :
11978 - name : Checkout source
120- uses : actions/checkout@v3
79+ uses : actions/checkout@v4
12180
12281 - name : Install Node
123- uses : actions/setup-node@v3
82+ uses : actions/setup-node@v4
12483 with :
125- node-version : 12
126- cache : ' npm'
84+ node-version : 20
85+ cache : " npm"
12786
12887 - name : Install dependencies
12988 run : npm ci
0 commit comments