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 Jan 1, 2023
1 parent d9155f2 commit 7429730
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/.keepalive
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2023-01-01T00:39:20.029Z
10 changes: 10 additions & 0 deletions .github/workflows/productionize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ on:

# Allow the workflow to be manually run:
workflow_dispatch:
inputs:
require-passing-tests:
description: 'Require passing tests for creating bundles'
type: boolean
default: true

# Concurrency group to prevent multiple concurrent executions:
concurrency:
Expand Down Expand Up @@ -134,34 +139,39 @@ jobs:

# Checkout the repository:
- name: 'Checkout repository'
if: ${{ github.event.inputs.require-passing-tests == 'true' }}
uses: actions/checkout@v3
with:
# Use the `production` branch:
ref: production

# Install Node.js:
- name: 'Install Node.js'
if: ${{ github.event.inputs.require-passing-tests == 'true' }}
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5

# Install dependencies:
- name: 'Install production and development dependencies'
if: ${{ github.event.inputs.require-passing-tests == 'true' }}
id: install
run: |
npm install || npm install || npm install
timeout-minutes: 15

# Build native add-on if present:
- name: 'Build native add-on (if present)'
if: ${{ github.event.inputs.require-passing-tests == 'true' }}
run: |
if [ -f "binding.gyp" ]; then
npm install node-gyp --no-save && ./node_modules/.bin/node-gyp rebuild
fi
# Run tests:
- name: 'Run tests'
if: ${{ github.event.inputs.require-passing-tests == 'true' }}
id: tests
run: |
npm test || npm test || npm test
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ For more information on the project, filing bug reports and feature requests, an

## Copyright

Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].

</section>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@stdlib/string-replace": "^0.0.x",
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
"istanbul": "^0.4.1",
"tap-min": "2.x.x"
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
},
"engines": {
"node": ">=0.10.0",
Expand Down

0 comments on commit 7429730

Please sign in to comment.