File tree
Expand file treeCollapse file tree6 files changed
+15
-4
lines changed Expand file treeCollapse file tree6 files changed
+15
-4
lines changed Original file line number | Diff line number | Diff line change |
---|
|
1 |
| -2022-12-01T02:59:03.013Z |
| 1 | +2023-02-01T02:34:17.418Z |
Original file line number | Diff line number | Diff line change |
---|
|
28 | 28 |
|
29 | 29 | # Allow the workflow to be manually run:
|
30 | 30 | workflow_dis:
|
| 31 | +inputs: |
| 32 | +require-passing-tests: |
| 33 | +description: 'Require passing tests for creating bundles' |
| 34 | +type: boolean |
| 35 | +default: true |
31 | 36 |
|
32 | 37 | # Concurrency group to prevent multiple concurrent executions:
|
33 | 38 | concurrency:
|
@@ -134,34 +139,39 @@ jobs:
|
134 | 139 |
|
135 | 140 | # Checkout the repository:
|
136 | 141 | - name: 'Checkout repository'
|
| 142 | +if: ${{ .event.inputs.require-passing-tests == 'true' }} |
137 | 143 | uses: actions/checkout@v3
|
138 | 144 | with:
|
139 | 145 | # Use the `production` branch:
|
140 | 146 | ref: production
|
141 | 147 |
|
142 | 148 | # Install Node.js:
|
143 | 149 | - name: 'Install Node.js'
|
| 150 | +if: ${{ .event.inputs.require-passing-tests == 'true' }} |
144 | 151 | uses: actions/setup-node@v3
|
145 | 152 | with:
|
146 | 153 | node-version: 16
|
147 | 154 | timeout-minutes: 5
|
148 | 155 |
|
149 | 156 | # Install dependencies:
|
150 | 157 | - name: 'Install production and development dependencies'
|
| 158 | +if: ${{ .event.inputs.require-passing-tests == 'true' }} |
151 | 159 | id: install
|
152 | 160 | run: |
|
153 | 161 | npm install || npm install || npm install
|
154 | 162 | timeout-minutes: 15
|
155 | 163 |
|
156 | 164 | # Build native add-on if present:
|
157 | 165 | - name: 'Build native add-on (if present)'
|
| 166 | +if: ${{ .event.inputs.require-passing-tests == 'true' }} |
158 | 167 | run: |
|
159 | 168 | if [ -f "binding.gyp" ]; then
|
160 | 169 | npm install node-gyp --no-save && ./node_modules/.bin/node-gyp rebuild
|
161 | 170 | fi
|
162 | 171 |
|
163 | 172 | # Run tests:
|
164 | 173 | - name: 'Run tests'
|
| 174 | +if: ${{ .event.inputs.require-passing-tests == 'true' }} |
165 | 175 | id: tests
|
166 | 176 | run: |
|
167 | 177 | npm test || npm test || npm test
|
|
Original file line number | Diff line number | Diff line change |
---|
|
19 | 19 | # Files #
|
20 | 20 | #########
|
21 | 21 | package.json.copy
|
| 22 | +.stdlibrc |
22 | 23 |
|
23 | 24 | # Directories #
|
24 | 25 | ###############
|
|
Original file line number | Diff line number | Diff line change |
---|
|
1 |
| -Copyright (c) 2016-2022 The Stdlib Authors. |
| 1 | +Copyright (c) 2016-2023 The Stdlib Authors. |
Original file line number | Diff line number | Diff line change |
---|
@@ -173,7 +173,7 @@ See [LICENSE][stdlib-license].
|
173 | 173 |
|
174 | 174 | ## Copyright
|
175 | 175 |
|
176 |
| -Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors]. |
| 176 | +Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors]. |
177 | 177 |
|
178 | 178 | </section>
|
179 | 179 |
|
|
Original file line number | Diff line number | Diff line change |
---|
|
66 | 66 | "@stdlib/strided-base-reinterpret-complex64": "^0.0.x",
|
67 | 67 | "tape": "git+https://.com/kgryte/tape.git#fix/globby",
|
68 | 68 | "istanbul": "^0.4.1",
|
69 |
| -"tap-min": "2.x.x" |
| 69 | +"tap-min": "git+https://.com/Planeshifter/tap-min.git" |
70 | 70 | },
|
71 | 71 | "engines": {
|
72 | 72 | "node": ">=0.10.0",
|
|
You can’t perform that action at this time.
0 commit comments