Skip to content

Commit

Permalink
fix: update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakkulkarni committed Sep 5, 2021
1 parent fc11a98 commit 772fff2
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,23 @@ jobs:
with:
persist-credentials: false

- name: Install and Build πŸ”§
run: |
npm install
npm run build-storybook
- name: Setup node env πŸ“¦
uses: actions/setup-node@v2.4.0
with:
node-version: ${{ matrix.node }}
check-latest: true
registry-url: https://registry.npmjs.org
cache: 'npm'


- name: Upgrade npm πŸŽ‰
run: npm install -g npm@latest

- name: Install dependencies πŸš€
run: npm ci --prefer-offline --no-audit --no-optional

- name: Build Storybook πŸ”§
run: npm run build-storybook

- name: Deploy to GitHub Pages πŸš€
uses: peaceiris/actions-gh-pages@v3.8.0
Expand Down

0 comments on commit 772fff2

Please sign in to comment.