File tree 7 files changed +31
-11
lines changed
7 files changed +31
-11
lines changed Original file line number Diff line number Diff line change
1
+ name : benchmark
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ jobs :
7
+ benchmark :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ - uses : actions/setup-node@v1
12
+ with :
13
+ node-version : 15
14
+ - name : Install production and development dependencies
15
+ run : |
16
+ npm install
17
+ - name : Run benchmarks
18
+ run : |
19
+ npm run benchmark
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ jobs:
10
10
- uses : actions/checkout@v2
11
11
- uses : actions/setup-node@v1
12
12
with :
13
- node-version : 14
13
+ node-version : 15
14
14
- name : Install production and development dependencies
15
15
run : |
16
16
npm install
17
17
- name : Run examples
18
18
run : |
19
- npm run examples
19
+ npm run examples
Original file line number Diff line number Diff line change 11
11
- uses : actions/checkout@v2
12
12
- uses : actions/setup-node@v1
13
13
with :
14
- node-version : 14
14
+ node-version : 15
15
15
- name : Increment version
16
16
run : |
17
17
git config --local user.email "[email protected] "
31
31
status : ${{ job.status }}
32
32
steps : ${{ toJson(steps) }}
33
33
channel : ' #npm-ci'
34
- if : failure()
34
+ if : failure()
Original file line number Diff line number Diff line change 12
12
- uses : actions/checkout@v2
13
13
- uses : actions/setup-node@v1
14
14
with :
15
- node-version : 14
15
+ node-version : 15
16
16
- name : Install production and development dependencies
17
17
id : install
18
18
run : |
26
26
status : ${{ job.status }}
27
27
steps : ${{ toJson(steps) }}
28
28
channel : ' #npm-ci'
29
- if : failure()
29
+ if : failure()
Original file line number Diff line number Diff line change 10
10
- uses : actions/checkout@v2
11
11
- uses : actions/setup-node@v1
12
12
with :
13
- node-version : 14
13
+ node-version : 15
14
14
- name : Install production and development dependencies
15
15
run : |
16
16
npm install
21
21
uses : codecov/codecov-action@v1
22
22
with :
23
23
directory : reports/coverage
24
- flags : unittests
24
+ flags : unittests
Original file line number Diff line number Diff line change 15
15
- uses : actions/checkout@v1
16
16
- uses : actions/setup-node@v1
17
17
with :
18
- node-version : 14
18
+ node-version : 15
19
19
- name : Install production dependencies via npm
20
20
run : |
21
21
npm install --only=prod
24
24
status : ${{ job.status }}
25
25
steps : ${{ toJson(steps) }}
26
26
channel : ' #npm-ci'
27
- if : failure()
27
+ if : failure()
Original file line number Diff line number Diff line change 29
29
"scripts" : {
30
30
"test" : " make test" ,
31
31
"test-cov" : " make test-cov" ,
32
- "examples" : " make examples"
32
+ "examples" : " make examples" ,
33
+ "benchmark" : " make benchmark"
33
34
},
34
35
"homepage" : " https://github.com/stdlib-js/stdlib" ,
35
36
"repository" : {
You can’t perform that action at this time.
0 commit comments