Skip to content

Commit

Permalink
TASK: Add docker_build.sh and docker_test.sh that execute the respect…
Browse files Browse the repository at this point in the history
…ive yarn commands in isolation
  • Loading branch information
mficzel committed Jan 21, 2025
1 parent 940f920 commit b7eae05
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docker_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

set -x
set -e

docker run -it -v $(pwd):/app -w /app node:16 sh -c "yarn && yarn build"





11 changes: 11 additions & 0 deletions docker_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

set -x
set -e

docker run -it -v $(pwd):/app -w /app node:16 sh -c "yarn && yarn test"





0 comments on commit b7eae05

Please sign in to comment.