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 Feb 1, 2023
1 parent 6b381ae commit d726b7c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/.keepalive
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022-12-01T02:48:53.391Z
2023-02-01T02:29:25.025Z
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 NOTICE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Copyright (c) 2016-2022 The Stdlib Authors.
Copyright (c) 2016-2023 The Stdlib Authors.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,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 @@ -69,7 +69,7 @@
"@stdlib/bench": "^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 d726b7c

Please sign in to comment.