Skip to content

chore(deps): update dependency @rollup/plugin-typescript to v9.0.2 #1258

chore(deps): update dependency @rollup/plugin-typescript to v9.0.2

chore(deps): update dependency @rollup/plugin-typescript to v9.0.2 #1258

name: Deploy Storybook
on:
push:
branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
persist-credentials: false
- name: Cache node modules 🗄
id: yarn-cache-dir-path
run: |
echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
${{ runner.os }}-
- name: Install 🔧
run: yarn --prefer-offline
- name: TypeCheck 📝
run: yarn typecheck
- name: Unit Testing 🚥
run: yarn test
- name: Report Codecov 🔍
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
flags: unittests # optional
name: codecov-umbrella # optional
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
- name: Build 🥁
run: |
npm run storybook:build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: build-story # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch