Skip to content

Commit

Permalink
Merge pull request #25 from natura-cosmeticos/ci/using-yarn-on-ci
Browse files Browse the repository at this point in the history
ci(travis): changed ci scripts to use yarn
  • Loading branch information
robertLichtnow authored Jan 30, 2020
2 parents 7d38ac3 + 32db967 commit f0a1773
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,29 @@ 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
script: skip
deploy:
provider: script
cleanup: true
script: npm install && npm run build && npm run semantic-release
script: yarn && yarn build && yarn semantic-release

0 comments on commit f0a1773

Please sign in to comment.