Browse Source

drone: overcome grunt cli not global

Herby Vojčík 4 years ago
parent
commit
e54d4446db
2 changed files with 2 additions and 1 deletions
  1. 1 1
      .drone.yml
  2. 1 0
      package.json

+ 1 - 1
.drone.yml

@@ -18,7 +18,7 @@ steps:
     image: node
     commands:
       - npm install
-      - grunt build:cli
+      - npm run build:cli
       - cd cli
       - npm install
       - npm test

+ 1 - 0
package.json

@@ -25,6 +25,7 @@
     "node": ">=4.0.0"
   },
   "scripts": {
+    "build:cli": "grunt build:cli",
     "test": "npm run test:sunit && npm run test:e2e",
     "test:sunit": "grunt test",
     "test:e2e": "(cd cli && npm test)"