Commit 2667899a authored by Mehmet Kozan's avatar Mehmet Kozan

ci issue fixed.

parent e5b0b23a
Pipeline #14792941 passed with stages
in 1 minute and 37 seconds
......@@ -7,27 +7,39 @@ stages:
package_install:
stage: build
only:
- master
- tag
script:
- pwd
- npm install --save --save-dev --save-exact
mocha_test:
stage: test
only:
- master
- tag
script:
- pwd
- npm install --save --save-dev --save-exact
- npm run test
npm_package:
stage: deploy
script:
- pwd
- cd ..
- pwd
- rm -rf npm_package_install
- mkdir npm_package_install
- cd npm_package_install
- npm install --prefix ./ crawler-url-parser
- cd node_modules
- cd crawler-url-parser
- npm install --save --save-dev --save-exact
- npm run test
except:
- tags
npm_publish:
stage: deploy
only:
- tag
- tags
script:
- pwd
- cd ..
......
......@@ -63,5 +63,5 @@ const cup = require('crawler-url-parser');
`mocha` or `npm test`
> more than 200 unit test cases.
> check test folder and quickstart.js for extra usage.
> check test folder and QUICKSTART.js for extra usage.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment