Skip to content

Commit 759f1a5

Browse files
Learn Build Service GitHub AppLearn Build Service GitHub App
Learn Build Service GitHub App
authored and
Learn Build Service GitHub App
committed
Merging changes synced from https://github.com/MicrosoftDocs/azure-devops-docs-pr (branch live)
2 parents b358191 + 4ff1d5d commit 759f1a5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/pipelines/ecosystems/javascript.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,16 @@ Edit your *azure-pipelines.yml* file as follows.
7878
- script: |
7979
npm run build
8080
displayName: 'npm build'
81+
82+
- script:
83+
npm test
84+
displayname: 'npm test'
85+
8186
```
8287

8388
1. Add the following new tasks to the pipeline:
8489

85-
- The [copy files task](/azure/devops/pipelines/tasks/reference/copy-files-v2) copies the npm package and *package.json* files from the local download path on the agent and saves them to a local artifact staging path on the agent. Only the *src* and *public* folders are copied.
90+
- The [copy files task](/azure/devops/pipelines/tasks/reference/copy-files-v2) copies the files from the *src* and *public* folders to the build artifact staging directory.
8691

8792
- The [publish pipeline artifact task](../artifacts/pipeline-artifacts.md) gets the files from the artifact staging location and publishes them as artifacts to be output with pipeline builds.
8893

0 commit comments

Comments
 (0)