Skip to content

chore(package.json): modify test-storybook script to start server bef… #5

chore(package.json): modify test-storybook script to start server bef…

chore(package.json): modify test-storybook script to start server bef… #5

Workflow file for this run

on:
push:
paths:
- js/packages/web/**
pull_request:
paths:
- js/packages/web/**
jobs:
ci:
runs-on: ubuntu-latest
defaults:
run:
working-directory: js
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
cache-dependency-path: js/package-lock.json
- run: npm ci -w=@getcanary/web
- run: npm run build -w=@getcanary/web
- run: npm run format-check -w=@getcanary/web
- run: npx playwright install --with-deps
- run: npm run test -w=@getcanary/web