@@ -10,12 +10,18 @@ jobs:
10
10
matrix :
11
11
node-version : [6.x, 8.x, 10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x]
12
12
steps :
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v4
14
+ # FIXME: Install/build with 16.x until webpack is updated
15
+ - name : Use Node.js 16.x
16
+ uses : actions/setup-node@v4
17
+ with :
18
+ node-version : 16.x
19
+ - run : npm install
20
+ # FIXME: Run tests with target version until webpack is updated
14
21
- name : Use Node.js ${{ matrix.node-version }}
15
- uses : actions/setup-node@v1
22
+ uses : actions/setup-node@v4
16
23
with :
17
24
node-version : ${{ matrix.node-version }}
18
- - run : npm install
19
25
- name : Run test with Node.js ${{ matrix.node-version }}
20
26
run : npm run test-node
21
27
test-karma :
26
32
node-version : [14.x]
27
33
bundler : [webpack, browserify]
28
34
steps :
29
- - uses : actions/checkout@v2
35
+ - uses : actions/checkout@v4
30
36
- name : Use Node.js ${{ matrix.node-version }}
31
- uses : actions/setup-node@v1
37
+ uses : actions/setup-node@v4
32
38
with :
33
39
node-version : ${{ matrix.node-version }}
34
40
- run : npm install
@@ -41,11 +47,11 @@ jobs:
41
47
# timeout-minutes: 10
42
48
# strategy:
43
49
# matrix:
44
- # node-version: [14 .x]
50
+ # node-version: [16 .x]
45
51
# steps:
46
- # - uses: actions/checkout@v2
52
+ # - uses: actions/checkout@v4
47
53
# - name: Use Node.js ${{ matrix.node-version }}
48
- # uses: actions/setup-node@v1
54
+ # uses: actions/setup-node@v4
49
55
# with:
50
56
# node-version: ${{ matrix.node-version }}
51
57
# - run: npm install
@@ -56,18 +62,19 @@ jobs:
56
62
timeout-minutes : 10
57
63
strategy :
58
64
matrix :
59
- node-version : [14 .x]
65
+ node-version : [16 .x]
60
66
steps :
61
- - uses : actions/checkout@v2
67
+ - uses : actions/checkout@v4
62
68
- name : Use Node.js ${{ matrix.node-version }}
63
- uses : actions/setup-node@v1
69
+ uses : actions/setup-node@v4
64
70
with :
65
71
node-version : ${{ matrix.node-version }}
66
72
- run : npm install
67
73
- name : Generate coverage report
68
74
run : npm run coverage-ci
69
75
- name : Upload coverage to Codecov
70
- uses : codecov/codecov-action@v1
76
+ uses : codecov/codecov-action@v4
71
77
with :
72
78
file : ./coverage/lcov.info
73
79
fail_ci_if_error : true
80
+ token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments