Skip to content

Commit e81c48b

Browse files
committed
Merge branch 'master' of https://github.com/aeagle/react-spaces into master
2 parents 72dbe84 + fd4fe4c commit e81c48b

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

azure-pipelines.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Node.js with React
2+
# Build a Node.js project that uses React.
3+
# Add steps that analyze code, save build artifacts, deploy, and more:
4+
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
5+
6+
pool:
7+
vmImage: 'ubuntu-latest'
8+
9+
steps:
10+
- task: NodeTool@0
11+
inputs:
12+
versionSpec: '10.x'
13+
displayName: 'Install Node.js'
14+
15+
- script: |
16+
npm install
17+
npm run build
18+
npm run build-storybook
19+
displayName: 'NPM install and build'
20+
21+
- task: CopyFiles@2
22+
displayName: Move storybook package json
23+
inputs:
24+
SourceFolder: '.storybook'
25+
Contents: 'package.json'
26+
TargetFolder: 'storybook-static'
27+
OverWrite: true
28+
29+
- task: Npm@1
30+
displayName: Publish react-spaces-storybook
31+
inputs:
32+
command: 'publish'
33+
workingDir: 'storybook-static'
34+
publishEndpoint: 'NPM'
35+
36+
- task: Npm@1
37+
displayName: Publish react-spaces
38+
inputs:
39+
command: 'publish'
40+
publishEndpoint: 'NPM'

0 commit comments

Comments
 (0)