Skip to content

Commit

Permalink
feat: migrate on azure pipelines (#172)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: now we use `azure-pipelines` for CI
  • Loading branch information
evilebottnawi authored and alexander-akait committed Apr 26, 2019
1 parent 3fe0d9a commit 6f77d5f
Show file tree
Hide file tree
Showing 7 changed files with 209 additions and 201 deletions.
3 changes: 2 additions & 1 deletion src/tasks/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ const gitignore = [

const gitattributes = [
'* text=auto',
'package-lock.json -diff',
'bin/* eol=lf',
'yarn.lock -diff',
'package-lock.json -diff',
];

module.exports = () => {
Expand Down
9 changes: 3 additions & 6 deletions src/tasks/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ const devPackages = [
'standard-version',
'@commitlint/cli',
'@commitlint/config-conventional',
'commitlint-azure-pipelines-cli',
'husky',

// Jest
'jest',
'jest-junit',
'babel-jest',

// Babel
Expand Down Expand Up @@ -80,12 +82,7 @@ module.exports = (config) => {
'test:watch': 'jest --watch',
'test:coverage': "jest --collectCoverageFrom='src/**/*.js' --coverage",
pretest: 'npm run lint',
test: 'npm run test:only',
'ci:lint': 'npm run lint && npm run security',
'ci:test': 'npm run test:only -- --runInBand',
'ci:coverage': 'npm run test:coverage -- --runInBand',
'ci:lint:commits':
'commitlint --from=origin/master --to=${CIRCLE_SHA1}',
test: 'npm run test:coverage',
defaults: 'webpack-defaults',
},
files: existing.files || ['dist/', 'lib/', 'index.js'],
Expand Down
3 changes: 1 addition & 2 deletions src/tasks/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ const { copyFiles } = require('mrm-core');

// These files will be overwritten without any confirmation
const files = [
'.circleci/config.yml',
'.github/CODEOWNERS',
'.github/PULL_REQUEST_TEMPLATE.md',
'.github/CONTRIBUTING.md',
'.editorconfig',
'.eslintrc.js',
'appveyor.yml',
'azure-pipelines.yml',
'LICENSE',
];

Expand Down
145 changes: 0 additions & 145 deletions templates/.circleci/config.yml

This file was deleted.

4 changes: 2 additions & 2 deletions templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ Please take a moment to read our contributing guidelines if you haven't yet done
[node-url]: https://nodejs.org
[deps]: https://david-dm.org/webpack-contrib/${package}.svg
[deps-url]: https://david-dm.org/webpack-contrib/${package}
[tests]: https://img.shields.io/circleci/project/github/webpack-contrib/${package}.svg
[tests-url]: https://circleci.com/gh/webpack-contrib/${package}
[tests]: https://dev.azure.com/webpack-contrib/${package}/_apis/build/status/webpack-contrib.${package}?branchName=master
[tests-url]: https://dev.azure.com/webpack-contrib/${package}/_build/latest?definitionId=2&branchName=master
[cover]: https://codecov.io/gh/webpack-contrib/${package}/branch/master/graph/badge.svg
[cover-url]: https://codecov.io/gh/webpack-contrib/${package}
[chat]: https://img.shields.io/badge/gitter-webpack%2Fwebpack-brightgreen.svg
Expand Down
45 changes: 0 additions & 45 deletions templates/appveyor.yml

This file was deleted.

Loading

0 comments on commit 6f77d5f

Please sign in to comment.