mirror of
https://github.com/actions/setup-node
synced 2025-04-09 18:35:51 +00:00
Set up CI with Azure Pipelines
[skip ci]
This commit is contained in:
parent
9a99bb3e35
commit
2449535bb3
1 changed files with 21 additions and 0 deletions
21
azure-pipelines.yml
Normal file
21
azure-pipelines.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
# 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-latest'
|
||||
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: '10.x'
|
||||
displayName: 'Install Node.js'
|
||||
|
||||
- script: |
|
||||
npm install
|
||||
npm run build
|
||||
displayName: 'npm install and build'
|
Loading…
Add table
Reference in a new issue