mirror of
https://github.com/lingble/twenty.git
synced 2025-10-29 20:02:29 +00:00
Migrate to shipfox
This commit is contained in:
28
.github/workflows/ci-front.yaml
vendored
28
.github/workflows/ci-front.yaml
vendored
@@ -43,32 +43,6 @@ jobs:
|
||||
- name: Front / Build storybook
|
||||
run: npx nx storybook:build twenty-front
|
||||
front-sb-test:
|
||||
runs-on: ci-8-cores
|
||||
timeout-minutes: 60
|
||||
needs: front-sb-build
|
||||
strategy:
|
||||
matrix:
|
||||
storybook_scope: [pages, modules]
|
||||
env:
|
||||
REACT_APP_SERVER_BASE_URL: http://localhost:3000
|
||||
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0
|
||||
steps:
|
||||
- name: Fetch local actions
|
||||
uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
uses: ./.github/workflows/actions/yarn-install
|
||||
- name: Install Playwright
|
||||
run: cd packages/twenty-front && npx playwright install
|
||||
- name: Front / Restore Storybook Task Cache
|
||||
uses: ./.github/workflows/actions/task-cache
|
||||
with:
|
||||
tag: scope:frontend
|
||||
tasks: storybook:build
|
||||
- name: Front / Write .env
|
||||
run: npx nx reset:env twenty-front
|
||||
- name: Run storybook tests
|
||||
run: npx nx storybook:serve-and-test:static twenty-front --configuration=${{ matrix.storybook_scope }}
|
||||
front-sb-test-shipfox:
|
||||
runs-on: shipfox-8vcpu-ubuntu-2204
|
||||
timeout-minutes: 60
|
||||
needs: front-sb-build
|
||||
@@ -95,7 +69,7 @@ jobs:
|
||||
- name: Run storybook tests
|
||||
run: npx nx storybook:serve-and-test:static twenty-front --configuration=${{ matrix.storybook_scope }}
|
||||
front-sb-test-performance:
|
||||
runs-on: ci-8-cores
|
||||
runs-on: shipfox-8vcpu-ubuntu-2204
|
||||
timeout-minutes: 60
|
||||
env:
|
||||
REACT_APP_SERVER_BASE_URL: http://localhost:3000
|
||||
|
||||
Reference in New Issue
Block a user