-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Refactoring and updating everything. (#65)
- Loading branch information
Martynas Žilinskas
authored
Aug 15, 2019
1 parent
c7166e4
commit a99866c
Showing
72 changed files
with
7,542 additions
and
9,439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
trigger: none | ||
pr: none | ||
|
||
pool: | ||
vmImage: "ubuntu-latest" | ||
|
||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: "10.x" | ||
displayName: "Install Node.js" | ||
|
||
- script: | | ||
npm install | ||
displayName: "npm install" | ||
- script: | | ||
npm run build | ||
displayName: "npm run build" | ||
- script: | | ||
npm test | ||
displayName: "npm test" | ||
- task: PublishTestResults@2 | ||
displayName: "Publish Test Results junit.xml" | ||
inputs: | ||
testResultsFiles: junit.xml | ||
failTaskOnFailedTests: true | ||
|
||
- task: PublishCodeCoverageResults@1 | ||
displayName: "Publish code coverage from $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml" | ||
inputs: | ||
codeCoverageTool: Cobertura | ||
summaryFileLocation: "$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml" | ||
|
||
- script: | | ||
npm version 0.0.0-canary.$(git rev-parse --short HEAD) --no-git-tag-version | ||
displayName: "Apply cannary version" | ||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/dev')) | ||
- script: | | ||
npm pack | ||
displayName: "npm pack" | ||
- script: | | ||
mkdir $(Build.ArtifactStagingDirectory)/packages | ||
mv *.tgz $(Build.ArtifactStagingDirectory)/packages | ||
displayName: "Move tgz to artifacts folder" | ||
- task: PublishBuildArtifacts@1 | ||
displayName: "Publish Artifact: packages" | ||
inputs: | ||
PathtoPublish: "$(Build.ArtifactStagingDirectory)/packages" | ||
ArtifactName: packages | ||
|
||
- task: PublishBuildArtifacts@1 | ||
displayName: "Publish Artifact: package.json" | ||
inputs: | ||
PathtoPublish: "$(System.DefaultWorkingDirectory)/package.json" | ||
ArtifactName: packageJson |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
trigger: none | ||
pr: none | ||
|
||
pool: | ||
vmImage: "ubuntu-latest" | ||
|
||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: "10.x" | ||
displayName: "Install Node.js" | ||
|
||
- script: | | ||
npm install | ||
displayName: "npm install" | ||
- script: | | ||
npm run build | ||
displayName: "npm run build" | ||
- script: | | ||
npm test | ||
displayName: "npm test" | ||
- task: PublishTestResults@2 | ||
displayName: "Publish Test Results junit.xml" | ||
inputs: | ||
testResultsFiles: junit.xml | ||
failTaskOnFailedTests: true | ||
|
||
- task: PublishCodeCoverageResults@1 | ||
displayName: "Publish code coverage from $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml" | ||
inputs: | ||
codeCoverageTool: Cobertura | ||
summaryFileLocation: "$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "@reactway" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -257,7 +257,6 @@ packages/react-forms-test | |
|
||
dist | ||
@types | ||
package-lock.json | ||
|
||
# MacOS | ||
.DS_Store | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"trailingComma": "none", | ||
"tabWidth": 4, | ||
"semi": true, | ||
"singleQuote": false, | ||
"printWidth": 140 | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.