Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 0 additions & 71 deletions .circleci/src/jobs/@harmony-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,74 +24,3 @@ harmony-init:
paths:
- node_modules
- packages/harmony/node_modules

harmony-build-storybook:
working_directory: ~/apps
docker:
- image: cimg/node:20.19
steps:
- checkout
- attach_workspace:
at: ./
- run:
name: build storybook
command: |
npx turbo run build-storybook --filter=@audius/harmony
- persist_to_workspace:
root: ./
paths:
- packages/harmony/storybook-static

harmony-test-storybook:
machine: true
resource_class: audiusproject/gcp-n2-standard-4
working_directory: ~/apps
steps:
- checkout
- attach_workspace:
at: ./

- run:
name: install playwright
command: sudo NEEDRESTART_MODE=l PLAYWRIGHT_BROWSERS_PATH=/home/circleci/.cache/ms-playwright npx playwright install --with-deps
- run:
name: test storybook
command: npx turbo run test --filter=@audius/harmony

harmony-deploy-storybook:
working_directory: ~/apps
docker:
- image: cimg/node:20.19
steps:
- checkout
- attach_workspace:
at: ./
- run:
name: install wrangler
command: |
cd packages/harmony
npm install @cloudflare/wrangler
- run:
name: Set up workers site
command: |
cd packages/harmony/workers-site
npm i
- run:
name: Deploy to Cloudflare
command: |
cd packages/harmony
npx wrangler publish

harmony-deploy-chromatic:
docker:
- image: cimg/node:20.19
working_directory: ~/harmony
steps:
- checkout
- attach_workspace:
at: ./
- run:
name: run chromatic
command: |
cd packages/harmony
npm run chromatic -- --exit-zero-on-changes
Loading