Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Jul 6, 2021
1 parent d149f57 commit 0d3a988
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
node-version: 15
- name: Install production and development dependencies
run: |
npm install
npm install || npm install || npm install
- name: Run benchmarks
run: |
npm run benchmark
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
node-version: 15
- name: Install production and development dependencies
run: |
npm install
npm install || npm install || npm install
- name: Run examples
run: |
npm run examples
17 changes: 7 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ name: build

# Workflow triggers:
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 1 * * 6'
workflow_dispatch:

# Workflow jobs:
Expand All @@ -36,18 +39,12 @@ jobs:
node-version: 15
- name: Install production and development dependencies
id: install
uses: nick-invision/retry@v2
with:
timeout_minutes: 2
max_attempts: 3
command: npm install
run: |
npm install || npm install || npm install
- name: Run tests
id: tests
uses: nick-invision/retry@v2
with:
timeout_minutes: 3
max_attempts: 2
command: npm test
run: |
npm test || npm test || npm test
- uses: act10ns/slack@v1
with:
status: ${{ job.status }}
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ name: coverage

# Workflow triggers:
on:
workflow_run:
workflows: ["build"]
types: [completed]
workflow_dispatch:

# Workflow jobs:
Expand All @@ -33,17 +36,11 @@ jobs:
with:
node-version: 15
- name: Install production and development dependencies
uses: nick-invision/retry@v2
with:
timeout_minutes: 2
max_attempts: 3
command: npm install
run: |
npm install || npm install || npm install
- name: Calculate test coverage
uses: nick-invision/retry@v2
with:
timeout_minutes: 3
max_attempts: 2
command: npm run test-cov
run: |
npm run test-cov || npm run test-cov || npm run test-cov
- name: Upload coverage to Codecov
id: upload
uses: codecov/codecov-action@v1
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ name: Test Installing Dependencies

# Workflow triggers:
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 1 * * 6'
workflow_run:
workflows: ["Publish Package"]
types: [completed]
Expand All @@ -38,11 +41,8 @@ jobs:
with:
node-version: 15
- name: Install production dependencies via npm
uses: nick-invision/retry@v2
with:
timeout_minutes: 2
max_attempts: 3
command: npm install --only=prod
run: |
npm install --only=prod || npm install --only=prod || npm install --only=prod
- uses: act10ns/slack@v1
with:
status: ${{ job.status }}
Expand Down

0 comments on commit 0d3a988

Please sign in to comment.