Skip to content

Commit ab50da5

Browse files
committed
storybook changes
1 parent 4f736b1 commit ab50da5

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.github/workflows/storybookRelease.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,17 @@ jobs:
88
release:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v2
11+
- name: Checkout 🛎️
12+
uses: actions/checkout@v2.3.1
1313
with:
14-
node-version: '14.x'
15-
registry-url: 'https://registry.npmjs.org'
16-
- run: npm install
17-
- run: npm run deploy-storybook
18-
14+
persist-credentials: false
15+
- name: Install and Build 🔧
16+
run: | # Install npm packages and build the Storybook files
17+
npm install
18+
npm run build-storybook
19+
- name: Deploy 🚀
20+
uses: JamesIves/github-pages-deploy-action@3.6.2
21+
with:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
BRANCH: gh-pages # The branch the action should deploy to.
24+
FOLDER: storybook-static # The folder that the build-storybook script generates files.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "frame-one-table",
3-
"version": "0.1.8",
3+
"version": "0.1.9",
44
"description": "A react table with maximum flexibility.",
55
"main": "build/index.js",
66
"module": "build/index.es.js",

0 commit comments

Comments
 (0)