-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #125 from marp-team/update-dependencies
Upgrade dependent packages to the latest version
- Loading branch information
Showing
6 changed files
with
491 additions
and
512 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
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
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 |
---|---|---|
@@ -1,37 +1,69 @@ | ||
trigger: | ||
- master | ||
|
||
pool: | ||
vmImage: 'vs2017-win2016' | ||
|
||
steps: | ||
- task: NodeTool@0 | ||
displayName: 'Install Node.js' | ||
inputs: | ||
versionSpec: '10.16.0' | ||
|
||
- script: yarn install | ||
displayName: yarn install | ||
|
||
- script: yarn audit | ||
displayName: yarn audit | ||
|
||
- script: yarn test:coverage --ci -i --reporters=default --reporters=jest-junit | ||
displayName: Jest | ||
|
||
- script: yarn codecov | ||
displayName: Codecov | ||
env: | ||
CODECOV_TOKEN: $(codecovToken) | ||
|
||
- task: PublishCodeCoverageResults@1 | ||
inputs: | ||
codeCoverageTool: Cobertura | ||
summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/*coverage.xml' | ||
reportDirectory: '$(System.DefaultWorkingDirectory)/**/coverage' | ||
|
||
- task: PublishTestResults@2 | ||
condition: succeededOrFailed() | ||
inputs: | ||
testRunner: JUnit | ||
testResultsFiles: 'junit.xml' | ||
branches: | ||
include: | ||
- master | ||
tags: | ||
include: | ||
- v* | ||
|
||
jobs: | ||
- job: test | ||
pool: | ||
vmImage: 'vs2017-win2016' | ||
steps: | ||
- task: NodeTool@0 | ||
displayName: Install Node.js | ||
inputs: | ||
versionSpec: '10.16.0' | ||
|
||
- script: yarn install | ||
displayName: yarn install | ||
|
||
- script: yarn audit | ||
displayName: yarn audit | ||
|
||
- script: yarn test:coverage --ci -i --reporters=default --reporters=jest-junit | ||
displayName: Jest | ||
|
||
- script: yarn codecov | ||
displayName: Codecov | ||
env: | ||
CODECOV_TOKEN: $(codecovToken) | ||
|
||
- task: PublishCodeCoverageResults@1 | ||
inputs: | ||
codeCoverageTool: Cobertura | ||
summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/*coverage.xml' | ||
reportDirectory: '$(System.DefaultWorkingDirectory)/**/coverage' | ||
|
||
- task: PublishTestResults@2 | ||
condition: succeededOrFailed() | ||
inputs: | ||
testRunner: JUnit | ||
testResultsFiles: 'junit.xml' | ||
|
||
- job: release | ||
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v') | ||
pool: | ||
vmImage: 'vs2017-win2016' | ||
steps: | ||
- task: NodeTool@0 | ||
displayName: Install Node.js | ||
inputs: | ||
versionSpec: '10.16.0' | ||
|
||
- script: yarn install | ||
displayName: yarn install | ||
|
||
- script: yarn build:standalone | ||
displayName: Build and create standalone binaries | ||
|
||
- script: yarn standalone:pack | ||
displayName: Create package for Windows | ||
env: | ||
TARGET: win | ||
|
||
- script: yarn standalone:upload | ||
displayName: Upload created package to the asset of GitHub release | ||
env: | ||
GITHUB_TOKEN: $(githubToken) |
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
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
Oops, something went wrong.