File tree Expand file tree Collapse file tree 18 files changed +1209
-623
lines changed Expand file tree Collapse file tree 18 files changed +1209
-623
lines changed Original file line number Diff line number Diff line change
1
+ 2022-06-30T23:01:56.411Z
Original file line number Diff line number Diff line change @@ -21,22 +21,42 @@ name: benchmark
21
21
22
22
# Workflow triggers:
23
23
on :
24
+ # Allow the workflow to be manually run:
24
25
workflow_dispatch :
25
26
26
27
# Workflow jobs:
27
28
jobs :
29
+
30
+ # Define a job to run benchmarks:
28
31
benchmark :
29
- runs-on : ubuntu-latest
32
+
33
+ # Define a display name:
34
+ name : ' Run benchmarks'
35
+
36
+ # Define the type of virtual host machine:
37
+ runs-on : ' ubuntu-latest'
38
+
39
+ # Define the sequence of job steps...
30
40
steps :
31
- - uses : actions/checkout@v3
32
- - uses : actions/setup-node@v2
41
+
42
+ # Checkout the repository:
43
+ - name : ' Checkout repository'
44
+ uses : actions/checkout@v3
45
+
46
+ # Install Node.js:
47
+ - name : ' Install Node.js'
48
+ uses : actions/setup-node@v2
33
49
with :
34
50
node-version : 16
35
51
timeout-minutes : 5
36
- - name : Install production and development dependencies
52
+
53
+ # Install dependencies:
54
+ - name : ' Install production and development dependencies'
37
55
run : |
38
56
npm install || npm install || npm install
39
57
timeout-minutes : 15
40
- - name : Run benchmarks
58
+
59
+ # Run benchmarks:
60
+ - name : ' Run benchmarks'
41
61
run : |
42
62
npm run benchmark
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -21,15 +21,30 @@ name: cancel
21
21
22
22
# Workflow triggers:
23
23
on :
24
+ # Allow the workflow to be manually run:
24
25
workflow_dispatch :
25
26
26
27
# Workflow jobs:
27
28
jobs :
29
+
30
+ # Define a job to cancel existing workflow runs:
28
31
cancel :
29
- runs-on : ubuntu-latest
32
+
33
+ # Define a display name:
34
+ name : ' Cancel workflow runs'
35
+
36
+ # Define the type of virtual host machine:
37
+ runs-on : ' ubuntu-latest'
38
+
39
+ # Time limit:
30
40
timeout-minutes : 3
41
+
42
+ # Define the sequence of job steps...
31
43
steps :
32
- - uses : styfle/cancel-workflow-action@0.9.0
44
+
45
+ # Cancel existing workflow runs:
46
+ - name : ' Cancel existing workflow runs'
47
+ uses : styfle/cancel-workflow-action@0.9.0
33
48
with :
34
49
workflow_id : >-
35
50
benchmark.yml,
Original file line number Diff line number Diff line change 17
17
# /
18
18
19
19
# Workflow name:
20
- name : Close Pull Requests
20
+ name : close_pull_requests
21
21
22
22
# Workflow triggers:
23
23
on :
Original file line number Diff line number Diff line change @@ -21,22 +21,42 @@ name: examples
21
21
22
22
# Workflow triggers:
23
23
on :
24
+ # Allow the workflow to be manually run:
24
25
workflow_dispatch :
25
26
26
27
# Workflow jobs:
27
28
jobs :
29
+
30
+ # Define a job to run the package examples...
28
31
examples :
32
+
33
+ # Define display name:
34
+ name : ' Run examples'
35
+
36
+ # Define the type of virtual host machine on which to run the job:
29
37
runs-on : ubuntu-latest
38
+
39
+ # Define the sequence of job steps...
30
40
steps :
31
- - uses : actions/checkout@v3
32
- - uses : actions/setup-node@v2
41
+
42
+ # Checkout the repository:
43
+ - name : ' Checkout the repository'
44
+ uses : actions/checkout@v3
45
+
46
+ # Install Node.js:
47
+ - name : ' Install Node.js'
48
+ uses : actions/setup-node@v2
33
49
with :
34
50
node-version : 16
35
51
timeout-minutes : 5
36
- - name : Install production and development dependencies
52
+
53
+ # Install dependencies:
54
+ - name : ' Install production and development dependencies'
37
55
run : |
38
56
npm install || npm install || npm install
39
57
timeout-minutes : 15
40
- - name : Run examples
58
+
59
+ # Run examples:
60
+ - name : ' Run examples'
41
61
run : |
42
62
npm run examples
You can’t perform that action at this time.
0 commit comments