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 4ad50dc commit 8221caf
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/.keepalive
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022-12-01T01:52:47.320Z
2023-01-01T01:16:13.156Z
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# Files #
#########
package.json.copy
.stdlibrc

# Directories #
###############
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ See [LICENSE][stdlib-license].

## 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 @@ -59,7 +59,7 @@
"@stdlib/streams-node-split": "^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 8221caf

Please sign in to comment.