File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+ name : Deploy main storybook
5+
6+ on :
7+ push :
8+ branches : [next/fluentui]
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ if : github.repository == 'microsoftgraph/microsoft-graph-toolkit'
14+
15+ strategy :
16+ matrix :
17+ node-version : [16.x]
18+
19+ steps :
20+ - uses : actions/checkout@v2
21+ - name : Use Node.js ${{ matrix.node-version }}
22+ uses : actions/setup-node@v1
23+ with :
24+ node-version : ${{ matrix.node-version }}
25+ registry-url : ' https://registry.npmjs.org'
26+
27+ - name : Build 🛠
28+ run : |
29+ npm install -g yarn lerna
30+ yarn
31+ yarn build
32+ yarn storybook:build
33+
34+ - name : Deploy mgt.dev/next 🚀
35+ 36+ with :
37+ branch : gh-pages
38+ folder : storybook-static
39+ target-folder : fluentui
40+ clean-exclude : |
41+ pr
42+ next
43+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments