Explorar o código

drone: overcome grunt cli not global

Herby Vojčík %!s(int64=4) %!d(string=hai) anos
pai
achega
e54d4446db
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  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)"