Skip to content

Commit 9e3b2e3

Browse files
committed
chore: streamline ci workdlows
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 5e10be3 commit 9e3b2e3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,13 @@ jobs:
276276
- name: setup library
277277
run: |
278278
set -ex
279+
dev_constraints=' npm-run-all2 c8 mocha fast-glob rimraf '
279280
echo "::group::install prod"
280281
npm i --ignore-scripts --omit=optional --omit=dev --loglevel=silly
281282
echo "::endgroup::"
282-
echo "::endgroup::install dev"
283+
echo "::group::install dev"
283284
## install the needed dev-deps
284-
npm i --ignore-scripts --omit=optional --no-save --loglevel=silly mocha c8 npm-run-all2 fast-glob
285+
npm i --ignore-scripts --omit=optional --no-save --loglevel=silly $dev_constraints
285286
echo "::endgroup::"
286287
- name: fetch build artifact
287288
# see https://github.com/actions/download-artifact

0 commit comments

Comments
 (0)