Skip to content

Added introduction,Shko Online logo & upgrade storybook #2

Added introduction,Shko Online logo & upgrade storybook

Added introduction,Shko Online logo & upgrade storybook #2

Workflow file for this run

#
# Copyright 2022 Betim Beja, AlbanianXrm
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
name: Deploy Storybook to Chromatic
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allow one concurrent deployment
concurrency:
group: "chromatic"
cancel-in-progress: true
jobs:
# Build job
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup NodeJs
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install Dependencies
run: npm install
- name: Refresh Types
run: npm run refreshTypes
- name: Publish to Chromatic
uses: chromaui/action@v1
# Chromatic GitHub Action options
with:
# 👇 Chromatic projectToken, refer to the manage page to obtain it.
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}