File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - " **"
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+
16+ - name : Install Node.js
17+ uses : actions/setup-node@v4
18+ with :
19+ node-version : 20
20+
21+ - uses : pnpm/action-setup@v4
22+ name : Install pnpm
23+ with :
24+ version : 8
25+ run_install : false
26+
27+ - name : Get pnpm store directory
28+ shell : bash
29+ run : |
30+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
31+
32+ - name : Install dependencies
33+ run : pnpm install
34+
35+ - name : Build
36+ run : pnpm build
37+
38+ - name : Build storybook
39+ run : pnpm build-storybook
40+
41+ - name : Publish
42+ uses : JS-DevTools/npm-publish@v3
43+ with :
44+ token : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments