open-cli-tools / concurrently

Run commands concurrently. Like `npm run watch-js & npm run watch-less` but better.
https://www.npmjs.com/package/concurrently
MIT License
7k stars 228 forks source link

Can I run some scripts concurrently but some others in a series? #419

Closed sandrooco closed 1 year ago

sandrooco commented 1 year ago

I have the following steps in my CI:

  1. lint:errors-only
  2. prettier:check
  3. test
  4. build:ngssc
  5. gzip

Is it actually possible to run 1-3 concurrently and then 4-5 serially? This is needed because gzip depends on the output from the command above.

gustavohenke commented 1 year ago
concurrently lint:errors-only prettier:check test "build:ngssc && gzip"

?