65 #178712
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
-
|
Hi @bryanpancito612 👋 Thanks for reaching out! We’d love to help, but we need a bit more information to better understand the issue you’re experiencing. Could you provide the following details?
Even if you aren’t able to answer every bullet, providing as much information as you can will help the community provide the support that you need. In the meantime, I’ll go ahead and close this discussion. Please re-open this discussion with the additional information so we can take another look. Looking forward to your response! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Show & Tell
Body
trigger:
pool:
vmImage: 'ubuntu-latest'
variables:
nodeVersion: '18.x'
steps:
Install Node.js
inputs:
version: $(nodeVersion)
displayName: 'Install Node.js'
Install dependencies
npm install
displayName: 'Install dependencies'
Build the project
npm run build
displayName: 'Build project'
Run tests
npm test
displayName: 'Run tests'
Copy project files to artifact staging directory
inputs:
sourceFolder: '$(Build.SourcesDirectory)'
contents: |
src/**
public/**
targetFolder: '$(Build.ArtifactStagingDirectory)'
displayName: 'Copy project files'
Publish pipeline artifact
inputs:
artifactName: 'nodejs-app'
targetPath: '$(Build.ArtifactStagingDirectory)'
displayName: 'Publish pipeline artifact'
Beta Was this translation helpful? Give feedback.
All reactions