|
28 | 28 |
|
29 | 29 | jobs: |
30 | 30 | build: |
31 | | - name: build ${{ matrix.target }} |
| 31 | + name: "build: ${{ matrix.target }}" |
32 | 32 | runs-on: "ubuntu-latest" |
33 | 33 | strategy: |
34 | 34 | fail-fast: false |
@@ -203,20 +203,11 @@ jobs: |
203 | 203 | NODE_VERSION: '${{ matrix.node-version }}' |
204 | 204 | run: | |
205 | 205 | set -ex |
206 | | - |
207 | | - # for the purpose of testing strange setups, |
208 | | - # we need to craft compatible versions by hand, |
209 | | - # and might utilize `npm_config_engine_strict=false` |
210 | | - |
211 | | - dev_constraints=' npm-run-all2 c8 mocha fast-glob memfs rimraf ' |
212 | | - echo "::group::install prod" |
213 | | - npm_config_engine_strict=false npm i --ignore-scripts --include=optional --omit=dev --only=prod --production --loglevel=silly |
214 | | - echo "::endgroup::" |
215 | | - echo "::group::install dev" |
216 | | - npm i --ignore-scripts --loglevel=silly --no-save $dev_constraints |
| 206 | + echo "::group::install project" |
| 207 | + npm i --ignore-scripts --include=optional --include=dev --loglevel=silly |
217 | 208 | echo "::endgroup::" |
218 | | - echo "::group::rebuild libxmljs2" |
219 | 209 | ## rebuild deps for which scripts were ignored, or partially installed - since "ignore-scripts" was used |
| 210 | + echo "::group::rebuild libxmljs2" |
220 | 211 | npm rebuild --loglevel=silly libxmljs2 || npm uninstall --no-save libxmljs2 || true |
221 | 212 | echo "::endgroup::" |
222 | 213 | - name: fetch build artifact |
@@ -468,7 +459,7 @@ jobs: |
468 | 459 | working-directory: ${{ env.EXAMPLE_DIR }} |
469 | 460 |
|
470 | 461 | api-doc: |
471 | | - name: api-doc ${{ matrix.target }} |
| 462 | + name: "api-doc: ${{ matrix.target }}" |
472 | 463 | runs-on: "ubuntu-latest" |
473 | 464 | strategy: |
474 | 465 | fail-fast: false |
|
0 commit comments