diff --git a/.ci/azure-pipelines-lint.yml b/.ci/azure-pipelines-lint.yml index 598cff06..cdef1748 100644 --- a/.ci/azure-pipelines-lint.yml +++ b/.ci/azure-pipelines-lint.yml @@ -1,29 +1,29 @@ jobs: - job: Lint - displayName: "Lint" + displayName: 'Lint' pool: - vmImage: "ubuntu-latest" + vmImage: 'ubuntu-latest' steps: - task: NodeTool@0 - displayName: "Install Node" + displayName: 'Install Node' inputs: - versionSpec: "12.x" + versionSpec: '12.x' - task: Cache@2 - displayName: "Check Cache" + displayName: 'Check Cache' inputs: - key: "yarn | yarn.lock" - path: "node_modules" + key: 'yarn | yarn.lock' + path: 'node_modules' cacheHitVar: CACHE_RESTORED - - script: "yarn install --frozen-lockfile" - displayName: "Install Dependencies" + - script: 'yarn install --frozen-lockfile' + displayName: 'Install Dependencies' condition: ne(variables.CACHE_RESTORED, 'true') - - script: "yarn run lint:js" - displayName: "Run ESLint" + - script: 'yarn run lint:js' + displayName: 'Run ESLint' - - script: "yarn run lint:style" - displayName: "Run Stylelint" + - script: 'yarn run lint:style' + displayName: 'Run Stylelint' diff --git a/.ci/azure-pipelines-test.yml b/.ci/azure-pipelines-test.yml index 7cbc5e78..d763a2ca 100644 --- a/.ci/azure-pipelines-test.yml +++ b/.ci/azure-pipelines-test.yml @@ -1,32 +1,32 @@ jobs: - job: Test - displayName: "Test" + displayName: 'Test' pool: - vmImage: "ubuntu-latest" + vmImage: 'ubuntu-latest' steps: - task: NodeTool@0 - displayName: "Install Node" + displayName: 'Install Node' inputs: - versionSpec: "12.x" + versionSpec: '12.x' - task: Cache@2 - displayName: "Check Cache" + displayName: 'Check Cache' inputs: - key: "yarn | yarn.lock" - path: "node_modules" + key: 'yarn | yarn.lock' + path: 'node_modules' cacheHitVar: CACHE_RESTORED - - script: "yarn install --frozen-lockfile" - displayName: "Install Dependencies" + - script: 'yarn install --frozen-lockfile' + displayName: 'Install Dependencies' condition: ne(variables.CACHE_RESTORED, 'true') - - script: "yarn run test" - displayName: "Run Jest" + - script: 'yarn run test' + displayName: 'Run Jest' - task: PublishCodeCoverageResults@1 - displayName: "Publish Coverage Results" + displayName: 'Publish Coverage Results' inputs: codeCoverageTool: Cobertura summaryFileLocation: $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml index 13e61cce..a14cd18f 100644 --- a/.ci/azure-pipelines.yml +++ b/.ci/azure-pipelines.yml @@ -1,14 +1,14 @@ trigger: branches: include: - - "*" + - '*' tags: include: - - "*" + - '*' pr: branches: include: - - "*" + - '*' jobs: - template: azure-pipelines-lint.yml - template: azure-pipelines-test.yml