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