Skip to content

Commit

Permalink
chore: update storybook action
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosir committed Feb 9, 2023
1 parent 75644eb commit c059028
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ jobs:
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '18.x'

- name: Cache dependencies ⚡
id: cache
id: cache_dependencies
uses: actions/cache@v3
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}

- name: Install dependencies 🔧
if: steps.cache.outputs.cache-hit != 'true'
if: steps.cache_dependencies.outputs.cache-hit != 'true'
run: npm ci

- name: Lint ✅
Expand All @@ -40,24 +40,24 @@ jobs:
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '18.x'

- name: Cache dependencies ⚡
id: cache
id: cache_dependencies
uses: actions/cache@v3
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}

- name: Install dependencies 🔧
if: steps.cache.outputs.cache-hit != 'true'
if: steps.cache_dependencies.outputs.cache-hit != 'true'
run: npm ci

- name: Build 🏗️
run: npm run storybook-build

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.3.3
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: storybook-static
Expand All @@ -73,17 +73,17 @@ jobs:
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '18.x'

- name: Cache dependencies ⚡
id: cache
id: cache_dependencies
uses: actions/cache@v3
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}

- name: Install dependencies 🔧
if: steps.cache.outputs.cache-hit != 'true'
if: steps.cache_dependencies.outputs.cache-hit != 'true'
run: npm ci

- name: Build 🏗️
Expand Down

0 comments on commit c059028

Please sign in to comment.