Skip to content

update docs

update docs #3

on:
push:
branches:
- main
paths:
- js/packages/web/**
pull_request:
branches:
- main
paths:
- js/packages/web/**
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 packages/web/storybook-static" http://127.0.0.1:3000 --outDir ./screenshots
- run: npx argos upload --token ${{ secrets.ARGOS_TOKEN }} ./screenshots