Skip to content

Commit

Permalink
chore: Create jobs build yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jimthedev committed Sep 23, 2018
1 parent f0595ed commit f1150c8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions jobs/build.yml
@@ -0,0 +1,16 @@
# File: jobs/build.yml

parameters:
name: ''
pool: ''
sign: false

jobs:
- job: ${{ parameters.name }}
pool: ${{ parameters.pool }}
steps:
- script: npm install
- script: npm run build
- script: npm test
- ${{ if eq(parameters.sign, 'true') }}:
- script: sign

0 comments on commit f1150c8

Please sign in to comment.