Skip to content

Instantly share code, notes, and snippets.

@gje4
Last active January 5, 2021 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gje4/a59aea63bd5c4f6390336938ccb8faba to your computer and use it in GitHub Desktop.
Save gje4/a59aea63bd5c4f6390336938ccb8faba to your computer and use it in GitHub Desktop.
# Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
trigger:
- master
pool:
vmImage: ‘Ubuntu-16.04’
steps:
- task: NodeTool@0
inputs:
versionSpec: ‘8.x’
displayName: ‘Install Node.js’
- script: |
npm install
npm install -g @bigcommerce/stencil-cli
stencil start --tunnel
displayName: ‘npm install and build’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment