Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore(pipeline) pipeline should fail when lint and test failed #104

Merged
merged 19 commits into from
Mar 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
469b56a
fix(doc) grammar corrections + add pull request template file
triathete23 Jan 15, 2019
08c6ebe
fix(twit) update twit (#61)
guillaumechervetaxa Feb 1, 2019
92d008e
doc(help) add readme as doc in help component #52 (#59)
barry-thierno Feb 1, 2019
062d508
doc(modal): adding import sass and css in readme.md (#58)
Debaerdm Feb 1, 2019
5da95fa
chore(release): publish v1.0.5 [ci skip]
Feb 1, 2019
f9d3d20
docs(changelog) update to new 1.0.5
Feb 1, 2019
1cf14ba
doc: Adding imports documentation for badge (#63)
croquet-mickael Feb 4, 2019
8a625f7
fix(gitignore) remove sonar temp directory that should not be in git …
guillaumechervetaxa Feb 7, 2019
d049994
refactor(collapse) clean up code (#67)
guillaumechervetaxa Feb 7, 2019
7faf3d1
chore(release): publish v1.1.0 [ci skip]
Feb 7, 2019
92bbca0
docs(changelog) update to new 1.1.0
Feb 7, 2019
7eec92d
fix(demo) fix every broken links (#69)
oussamahamdaoui Feb 8, 2019
6c894c5
Merge branch 'master' of https://github.com/AxaGuilDEv/react-toolkit
guillaumechervetaxa Feb 12, 2019
4fcb228
Merge branch 'master' of https://github.com/AxaGuilDEv/react-toolkit
guillaumechervetaxa Feb 14, 2019
639029e
Merge branch 'master' of https://github.com/AxaGuilDEv/react-toolkit
guillaumechervetaxa Feb 18, 2019
25314f4
Merge branch 'master' of https://github.com/AxaGuilDEv/react-toolkit
guillaumechervetaxa Mar 4, 2019
eb377f2
fix(storybook) demo version 1.2.0
guillaumechervetaxa Mar 4, 2019
cf5bf93
Merge branch 'master' of https://github.com/AxaGuilDEv/react-toolkit
guillaumechervetaxa Mar 7, 2019
1723e1f
chore(pipeline) errors will block build
guillaumechervetaxa Mar 7, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 15 additions & 12 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@ steps:
sonar.cfamily.build-wrapper-output.bypass=true
condition: and(succeeded(), eq(variables['System.PullRequest.IsFork'], 'False'))

- script: |
npm ci
npm run bootstrap
- script: npm ci && npm run bootstrap
displayName: 'npm ci and bootstrap'

- script: |
npm test -- --coverage
npm run lint
displayName: 'npm test and lint'
- script: npm test -- --coverage
displayName: 'npm test'

- script: npm run lint
displayName: 'npm trun lint'

- script: npm run css:build
displayName: 'build css'
Expand Down Expand Up @@ -82,10 +81,14 @@ steps:
# displayName: 'Publish Quality Gate Result'
# condition: and(succeeded(), eq(variables['System.PullRequest.IsFork'], 'False'))

- script: |
npm run publish -- $(Npm.Publish.Version) --yes --concurrency 1 --force-publish
node ./scripts/publish-docs.js $(Github.Token)
node ./scripts/publish-changelog.js $(Github.Token)
node ./scripts/twitter.js $(Twitter.consumer_key) $(Twitter.consumer_secret) $(Twitter.access_token) $(Twitter.access_token_secret)
- script: npm run publish -- $(Npm.Publish.Version) --yes --concurrency 1 --force-publish
displayName: 'lerna publish'
condition: and(succeeded(), ne(variables['Npm.Publish.Version'], 'none'))

- script: node ./scripts/publish-docs.js $(Github.Token) && node ./scripts/publish-changelog.js $(Github.Token)
displayName: 'push documentation and changelog'
condition: and(succeeded(), ne(variables['Npm.Publish.Version'], 'none'))

- script: node ./scripts/twitter.js $(Twitter.consumer_key) $(Twitter.consumer_secret) $(Twitter.access_token) $(Twitter.access_token_secret)
displayName: 'Auto tweet'
condition: and(succeeded(), ne(variables['Npm.Publish.Version'], 'none'))
19 changes: 6 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.