Skip to content

Commit

Permalink
parallelise CI (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
NovemberTang authored Nov 13, 2023
1 parent 9a99e79 commit e098eb7
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions scripts/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ set -e
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
ROOT_DIR=$(realpath "${DIR}/..")

npm ci
npm run typecheck
npm run lint
npm run test
npm run synth
npm run build

createRepocopZip() {
echo "Creating repocop package"
# Copy the Prisma schema file to the dist directory
Expand All @@ -37,6 +30,9 @@ createZip() {
)
}

createRepocopZip
createZip "branch-protector"
createZip "interactive-monitor"
npm ci
npm run typecheck & npm run lint
npm run test
npm run synth & npm run build

createRepocopZip & createZip "branch-protector" & createZip "interactive-monitor"

0 comments on commit e098eb7

Please sign in to comment.