Skip to content

Commit

Permalink
chg: update annotationLens story
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelfattah committed Nov 3, 2023
1 parent 1240665 commit b4b80b7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
name: "Chromatic Publish"

# Event for the workflow
on: push
on:
push:
branches: [dev]
workflow_dispatch:

# List of jobs
jobs:
build-storybook:
chromatic-deployment:
# Operating System
runs-on: ubuntu-latest
# Job steps
Expand All @@ -19,12 +22,17 @@ jobs:
version: 8.x
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: install dependencies
run: pnpm install
- name: build package
run: pnpm build
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
# Options required for Chromatic's GitHub Action
with:
#👇 Chromatic projectToken,
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
autoAcceptChanges: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Check [Vue mindee documentation](https://vue-mindee-js.netlify.app) for docs, guides, API and more!
# Check [Vue mindee documentation](https://vue-mindee-js.netlify.app) and [Storybook](https://6544f0ebd09f956e0a9f10f3-tynzmijvtv.chromatic.com) for docs, guides, API and more!

# Introduction

Expand Down
2 changes: 1 addition & 1 deletion src/stories/AnnotationLens.stories.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from "@storybook/vue3";
import { dummyShapes } from "../../cypress/assets/shapes";
import demo from "../../cypress/assets/demo.jpg";
import demo from "../../cypress/assets/another-demo.jpg";
import { AnnotationLens } from "@/index";

// More on how to set up stories at: https://storybook.js.org/docs/vue/writing-stories/introduction
Expand Down

0 comments on commit b4b80b7

Please sign in to comment.