forked from nrwl/webpack-plugin-critical
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from thescientist13/issue-14-add-ci-build-and-…
…documentation-for-critical Issue 14 add ci build and documentation for critical
- Loading branch information
Showing
10 changed files
with
107 additions
and
804 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: thegreenhouse/nodejs-dev | ||
|
||
working_directory: ~/repo | ||
|
||
steps: | ||
- checkout | ||
|
||
# Download and cache dependencies | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package.json" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: | ||
name: Install Project Dependencies | ||
command: npm install | ||
|
||
- run: | ||
name: Run Tests | ||
command: npm test | ||
|
||
- run: | ||
name: Run CI Build | ||
command: npm run ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ dist/ | |
node_modules/ | ||
.idea/ | ||
npm-debug.log | ||
test/**/build/ | ||
test/**/build/ | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: '3.2' | ||
|
||
services: | ||
|
||
nodejs: | ||
image: thegreenhouse/nodejs-dev | ||
volumes: | ||
- ./:/workspace | ||
working_dir: /workspace | ||
command: tail -f /dev/null |
Oops, something went wrong.