Skip to content

Commit

Permalink
add argos ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yujonglee committed Oct 5, 2024
1 parent eebf8a5 commit ef72e07
Show file tree
Hide file tree
Showing 3 changed files with 7,968 additions and 5,553 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/storybook_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
pull_request:
push:
branches:
- main
jobs:
visual_tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: js
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci -w=@getcanary/web
- run: npm run build-storybook -w=@getcanary/web
- run: npx storycap --serverCmd "npx serve storybook-static" http://127.0.0.1:3000 --outDir ./screenshots
- run: npx argos upload --token ${{ secrets.ARGOS_TOKEN }} ./screenshots
Loading

0 comments on commit ef72e07

Please sign in to comment.