Skip to content

Commit f954278

Browse files
committed
Auto-generated commit
1 parent 90a01fd commit f954278

File tree

5 files changed

+21
-27
lines changed

5 files changed

+21
-27
lines changed

.github/workflows/benchmark.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
node-version: 15
3535
- name: Install production and development dependencies
3636
run: |
37-
npm install
37+
npm install || npm install || npm install
3838
- name: Run benchmarks
3939
run: |
4040
npm run benchmark

.github/workflows/examples.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
node-version: 15
3535
- name: Install production and development dependencies
3636
run: |
37-
npm install
37+
npm install || npm install || npm install
3838
- name: Run examples
3939
run: |
4040
npm run examples

.github/workflows/test.yml

+7-10
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ name: build
2121

2222
# Workflow triggers:
2323
on:
24+
schedule:
25+
# * is a special character in YAML so you have to quote this string
26+
- cron: '30 1 * * 6'
2427
workflow_dispatch:
2528

2629
# Workflow jobs:
@@ -36,18 +39,12 @@ jobs:
3639
node-version: 15
3740
- name: Install production and development dependencies
3841
id: install
39-
uses: nick-invision/retry@v2
40-
with:
41-
timeout_minutes: 2
42-
max_attempts: 3
43-
command: npm install
42+
run: |
43+
npm install || npm install || npm install
4444
- name: Run tests
4545
id: tests
46-
uses: nick-invision/retry@v2
47-
with:
48-
timeout_minutes: 3
49-
max_attempts: 2
50-
command: npm test
46+
run: |
47+
npm test || npm test || npm test
5148
- uses: act10ns/slack@v1
5249
with:
5350
status: ${{ job.status }}

.github/workflows/test_coverage.yml

+7-10
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ name: coverage
2121

2222
# Workflow triggers:
2323
on:
24+
workflow_run:
25+
workflows: ["build"]
26+
types: [completed]
2427
workflow_dispatch:
2528

2629
# Workflow jobs:
@@ -33,17 +36,11 @@ jobs:
3336
with:
3437
node-version: 15
3538
- name: Install production and development dependencies
36-
uses: nick-invision/retry@v2
37-
with:
38-
timeout_minutes: 2
39-
max_attempts: 3
40-
command: npm install
39+
run: |
40+
npm install || npm install || npm install
4141
- name: Calculate test coverage
42-
uses: nick-invision/retry@v2
43-
with:
44-
timeout_minutes: 3
45-
max_attempts: 2
46-
command: npm run test-cov
42+
run: |
43+
npm run test-cov || npm run test-cov || npm run test-cov
4744
- name: Upload coverage to Codecov
4845
id: upload
4946
uses: codecov/codecov-action@v1

.github/workflows/test_install.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ name: Test Installing Dependencies
2121

2222
# Workflow triggers:
2323
on:
24+
schedule:
25+
# * is a special character in YAML so you have to quote this string
26+
- cron: '30 1 * * 6'
2427
workflow_run:
2528
workflows: ["Publish Package"]
2629
types: [completed]
@@ -38,11 +41,8 @@ jobs:
3841
with:
3942
node-version: 15
4043
- name: Install production dependencies via npm
41-
uses: nick-invision/retry@v2
42-
with:
43-
timeout_minutes: 2
44-
max_attempts: 3
45-
command: npm install --only=prod
44+
run: |
45+
npm install --only=prod || npm install --only=prod || npm install --only=prod
4646
- uses: act10ns/slack@v1
4747
with:
4848
status: ${{ job.status }}

0 commit comments

Comments
 (0)