From b6bb740aaf9f84144d91ec6d218ef5e40ae0c347 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Thu, 15 Nov 2018 21:43:54 +0100 Subject: Switch to npm --- .travis.yml | 10 +++++----- appveyor.yml | 11 +++++------ 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 78c1e3693..28f61ac0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,12 +9,12 @@ matrix: language: node_js before_script: -- yarn add global node-sass -- yarn install +- npm install node-sass -g +- npm ci script: -- yarn lint -- travis_wait yarn build +- npm run lint +- travis_wait npm run build node_js: - '8' @@ -22,7 +22,7 @@ node_js: before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt install libx11-dev libxext-dev libxss-dev libxkbfile-dev; fi -cache: yarn +cache: npm notifications: email: false diff --git a/appveyor.yml b/appveyor.yml index 8c83a5644..351607edc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,17 +10,16 @@ version: 5.0.0.{build} install: - ps: Install-Product node 8 - - yarn cache clean - - yarn install + - npm ci -# cache: -# - "%LOCALAPPDATA%\\Yarn" +cache: + - '%APPDATA%\npm-cache' before_build: - - yarn lint + - npm run lint build_script: - - yarn build + - npm run build notifications: - provider: Slack -- cgit v1.2.3-70-g09d2