Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Rogin Farrer committed May 20, 2024
1 parent addfe85 commit 968480a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 36 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Storybook Tests"

on: # Rebuild any PRs and main branch changes
push:
branches:
- main
pull_request:

jobs:
test:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1

- name: Install dependencies
run: bun install
- name: Run Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
workingDir: react-aria-carousel
28 changes: 0 additions & 28 deletions .github/workflows/test-storybook.yml

This file was deleted.

9 changes: 1 addition & 8 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@
"persistent": true,
"dependsOn": ["react-aria-carousel#build"]
},
"ci:test-storybook": {
"inputs": [
"src/**/*.tsx",
"src/**/*.ts",
"tests/**/*.ts",
"tests/**/*.tsx"
]
}
"chromatic": {}
}
}

0 comments on commit 968480a

Please sign in to comment.