Skip to content

Commit c87f865

Browse files
committed
chore: update github action
1 parent 6e199e0 commit c87f865

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,27 @@ jobs:
4343
run: |
4444
yarn build
4545
npm run release
46-
npm run deploy-storybook -- --ci
4746
env:
48-
CI: true
4947
GH_TOKEN: ${{ secrets.GH_TOKEN }}
48+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
49+
pages:
50+
runs-on: ubuntu-latest
51+
steps:
52+
- name: Begin CI...
53+
uses: actions/checkout@v2
54+
55+
- name: Use Node 12
56+
uses: actions/setup-node@v1
57+
with:
58+
node-version: 12.x
59+
60+
- name: Use cached node_modules
61+
uses: actions/cache@v1
62+
with:
63+
path: node_modules
64+
key: nodeModules-${{ hashFiles('**/yarn.lock') }}
65+
restore-keys: |
66+
nodeModules-
67+
- name: Release
68+
run: |
69+
npm run deploy-storybook -- --ci

0 commit comments

Comments
 (0)