forked from arthanzel/node-config-webpack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added commands for testing webpacks 3 and 4
- Loading branch information
Showing
3 changed files
with
6 additions
and
7 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 |
---|---|---|
@@ -1,13 +1,11 @@ | ||
language: node_js | ||
node_js: node | ||
env: | ||
- WEBPACK_VERSION="[email protected]" | ||
- WEBPACK_VERSION="[email protected]" | ||
install: | ||
- npm install | ||
script: | ||
- npm install $WEBPACK_VERSION | ||
- npm test # The pretest hook runs a build | ||
- npm run test3 # The pretest hook runs a build | ||
- npm run test4 | ||
before_deploy: | ||
- mv .gitignore-deploy .gitignore | ||
deploy: | ||
|
@@ -17,5 +15,4 @@ deploy: | |
api_key: "$NPM_API_KEY" | ||
on: | ||
branch: deploy | ||
tags: true | ||
condition: $WEBPACK_VERSION = "[email protected]" # Only deploy once | ||
tags: true |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -6,6 +6,8 @@ | |
"scripts": { | ||
"build": "babel -d dist src", | ||
"test": "mocha --require babel-register", | ||
"test3": "npm install [email protected] && npm run test", | ||
"test4": "npm install [email protected] && npm run test", | ||
"pretest": "npm run build" | ||
}, | ||
"repository": { | ||
|