Skip to content

Commit

Permalink
Merge pull request #75 from sitegeist/dockerBasedBuilds
Browse files Browse the repository at this point in the history
TASK: Add docker_build.sh and docker_test.sh that execute the respective yarn commands in isolation
  • Loading branch information
mficzel authored Jan 21, 2025
2 parents db66108 + b7eae05 commit 3d8ba51
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 3d8ba51

Please sign in to comment.