From 32db967eb7c2334c792cb11205c1eb54c58233f7 Mon Sep 17 00:00:00 2001 From: Matheus Robert Lichtnow Date: Thu, 30 Jan 2020 11:27:15 -0300 Subject: [PATCH] ci(travis): changed ci scripts to use yarn --- .travis.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 13573fb..ae81613 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,24 +9,24 @@ jobs: node_js: 12 if: type = pull_request before_script: - - npm run lint - - npm run build + - yarn lint + - yarn build install: - - npm install - - npm run snyk + - yarn + - yarn snyk script: - - npm test + - yarn test - stage: Testing (node 10) node_js: 10 if: type = pull_request before_script: - - npm run lint - - npm run build + - yarn lint + - yarn build install: - - npm install - - npm run snyk + - yarn + - yarn snyk script: - - npm test + - yarn test - stage: release node_js: 12 if: branch = master AND type = push @@ -34,4 +34,4 @@ jobs: deploy: provider: script cleanup: true - script: npm install && npm run build && npm run semantic-release + script: yarn && yarn build && yarn semantic-release