-
Notifications
You must be signed in to change notification settings - Fork 600
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into users/janechu/add-roadmap
- Loading branch information
Showing
4 changed files
with
112 additions
and
14 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,87 @@ | ||
trigger: | ||
- master | ||
|
||
# The `resources` specify the location and version of the 1ES PT. | ||
resources: | ||
repositories: | ||
- repository: 1esPipelines | ||
type: git | ||
name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
ref: refs/tags/release | ||
|
||
extends: | ||
# The pipeline extends the 1ES PT which will inject different SDL and compliance tasks. | ||
# For non-production pipelines, use "Unofficial" as defined below. | ||
# For productions pipelines, use "Official". | ||
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines | ||
parameters: | ||
# Update the pool with your team's 1ES hosted pool. | ||
pool: | ||
name: OneESPool # Name of your hosted pool | ||
image: HostedPoolLinuxImage # Name of the image in your pool. If not specified, first image of the pool is used | ||
os: linux # OS of the image. This value cannot be a variable. Allowed values: windows, linux, macOS | ||
sdl: | ||
sourceAnalysisPool: | ||
name: OneESPool # Name of your hosted pool | ||
image: HostedPoolWindowsImage # Name of the image in your pool. If not specified, first image of the pool is used | ||
os: windows # OS of the image. Allowed values: windows, linux, macOS | ||
containers: | ||
playwright_container: | ||
image: mcr.microsoft.com/playwright:v1.49.0-noble | ||
stages: | ||
- stage: Stage | ||
jobs: | ||
- job: HostJob | ||
# If the pipeline publishes artifacts, use `templateContext` to define the artifacts. | ||
# This will enable 1ES PT to run SDL analysis tools on the artifacts and then upload them. | ||
templateContext: | ||
outputs: | ||
- output: pipelineArtifact | ||
targetPath: $(System.ArtifactsDirectory) | ||
artifactName: drop | ||
|
||
container: playwright_container | ||
|
||
variables: | ||
npm_config_cache: $(Pipeline.Workspace)/.npm | ||
|
||
steps: | ||
- checkout: self | ||
persistCredentials: "true" | ||
|
||
- task: UseNode@1 | ||
inputs: | ||
version: "20.x" | ||
displayName: "Install Node.js" | ||
|
||
- task: Cache@2 | ||
inputs: | ||
key: 'npm | "$(Agent.OS)" | package-lock.json' | ||
restoreKeys: | | ||
npm | "$(Agent.OS)" | ||
path: $(npm_config_cache) | ||
displayName: "Cache npm" | ||
|
||
- script: | | ||
npm ci | ||
displayName: "Install package dependencies" | ||
- script: | | ||
npm run checkchange | ||
displayName: "Check for the presence of changed files inside ./change" | ||
- script: | | ||
npm run format:check | ||
displayName: "Test Prettier format" | ||
- script: | | ||
npm run build | ||
displayName: "Build workspaces" | ||
- script: | | ||
npm run test | ||
displayName: "Testing unit tests" | ||
- script: | | ||
npm run test:validation | ||
displayName: "Testing final validation" |
7 changes: 7 additions & 0 deletions
7
change/@microsoft-fast-ssr-45005c89-fa17-44c9-b1ec-ef76c42e269e.json
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 @@ | ||
{ | ||
"type": "none", | ||
"comment": "Update playwright image and dependency to latest", | ||
"packageName": "@microsoft/fast-ssr", | ||
"email": "[email protected]", | ||
"dependentChangeType": "none" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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