Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8b9ae85

Browse filesBrowse files
committed
Auto-generated commit
1 parent 7d4a0a6 commit 8b9ae85
Copy full SHA for 8b9ae85

File tree

5 files changed

+21
-30
lines changed
Filter options

5 files changed

+21
-30
lines changed

‎.github/workflows/benchmark.yml

Copy file name to clipboardExpand all lines: .github/workflows/benchmark.yml
+1-1Lines changed: 1 addition & 1 deletion
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

Copy file name to clipboardExpand all lines: .github/workflows/examples.yml
+1-1Lines changed: 1 addition & 1 deletion
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

Copy file name to clipboardExpand all lines: .github/workflows/test.yml
+7-10Lines changed: 7 additions & 10 deletions
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

Copy file name to clipboardExpand all lines: .github/workflows/test_coverage.yml
+7-10Lines changed: 7 additions & 10 deletions
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

Copy file name to clipboardExpand all lines: .github/workflows/test_install.yml
+5-8Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ 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]
27-
schedule:
28-
# * is a special character in YAML so you have to quote this string
29-
- cron: '30 21 * * 2'
3030

3131
# Workflow jobs:
3232
jobs:
@@ -41,11 +41,8 @@ jobs:
4141
with:
4242
node-version: 15
4343
- name: Install production dependencies via npm
44-
uses: nick-invision/retry@v2
45-
with:
46-
timeout_minutes: 2
47-
max_attempts: 3
48-
command: npm install --only=prod
44+
run: |
45+
npm install --only=prod || npm install --only=prod || npm install --only=prod
4946
- uses: act10ns/slack@v1
5047
with:
5148
status: ${{ job.status }}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.