File tree Expand file tree Collapse file tree 4 files changed +78
-62
lines changed Expand file tree Collapse file tree 4 files changed +78
-62
lines changed Original file line number Diff line number Diff line change 6
6
- ' v*'
7
7
8
8
jobs :
9
- build :
9
+ test :
10
10
name : Test
11
11
12
12
runs-on : ubuntu-latest
@@ -17,10 +17,10 @@ jobs:
17
17
steps :
18
18
- uses : actions/checkout@v2
19
19
20
- - name : Use Node.js 14
20
+ - name : Use Node.js 16
21
21
uses : actions/setup-node@v1
22
22
with :
23
- node-version : 14
23
+ node-version : 16
24
24
25
25
- name : Install packages
26
26
run : npm ci
46
46
runs-on : ubuntu-latest
47
47
48
48
needs :
49
- - build
49
+ - test
50
50
51
51
steps :
52
52
- uses : actions/checkout@v2
@@ -76,10 +76,10 @@ jobs:
76
76
steps :
77
77
- uses : actions/checkout@v2
78
78
79
- - name : Use Node.js 14
79
+ - name : Use Node.js 16
80
80
uses : actions/setup-node@v1
81
81
with :
82
- node-version : 14
82
+ node-version : 16
83
83
registry-url : https://registry.npmjs.org/
84
84
85
85
- name : Install packages
@@ -104,10 +104,10 @@ jobs:
104
104
steps :
105
105
- uses : actions/checkout@v2
106
106
107
- - name : Use Node.js 14
107
+ - name : Use Node.js 16
108
108
uses : actions/setup-node@v1
109
109
with :
110
- node-version : 14
110
+ node-version : 16
111
111
registry-url : https://npm.pkg.github.com/
112
112
scope : ' @foxifyjs'
113
113
Original file line number Diff line number Diff line change 4
4
name : Test
5
5
6
6
on :
7
+ schedule :
8
+ - cron : " 0 0 * * *"
7
9
push :
8
10
branches :
9
11
- master
10
12
pull_request :
11
13
12
14
jobs :
13
- build :
15
+ test :
14
16
15
17
strategy :
16
18
matrix :
17
- os : [ macos-latest, windows-latest, ubuntu-latest ]
18
- node-version : [ 14.x, 15.x, 16.x ]
19
+ os :
20
+ - macos-latest
21
+ - ubuntu-latest
22
+ - windows-latest
23
+ node-version :
24
+ - 14
25
+ - 15
26
+ - 16
27
+ - 17
19
28
20
29
runs-on : ${{ matrix.os }}
21
30
49
58
- name : Test
50
59
run : npm run test:ci
51
60
61
+ - name : Benchmark
62
+ if : github.event_name == 'schedule'
63
+ run : npm run benchmarks
64
+
52
65
- name : Upload coverage to Codecov
66
+ if : github.event_name != 'schedule'
53
67
uses : codecov/codecov-action@v1
54
68
with :
55
69
env_vars : OS,NODE_VERSION
You can’t perform that action at this time.
0 commit comments