Reorganize repo (#1971)
* chore: Update dockerfile paths and branch name in render.yaml and release.yml * chore(readthedocs.yaml): remove .readthedocs.yaml file as it is no longer needed chore(base.Dockerfile): remove base.Dockerfile as it is no longer used in the project feat(cdk-docker-compose.yml): add cdk-docker-compose.yml file to set up docker-compose for backend and frontend services * move dockerignore * chore: Remove test-results/.last-run.json file * chore: Cache Node.js dependencies during workflow execution * chore: Remove npm cache from workflow and cache Node.js dependencies * chore: Update shardIndex and shardTotal values in typescript_test.yml workflow * chore: Update Playwright test command with shard and worker options
This commit is contained in:
parent
011915d3e8
commit
56f13c918b
21 changed files with 17 additions and 1114 deletions
2
.github/workflows/pre-release-base.yml
vendored
2
.github/workflows/pre-release-base.yml
vendored
|
|
@ -72,6 +72,6 @@ jobs:
|
|||
with:
|
||||
context: .
|
||||
push: true
|
||||
file: ./build_and_push_base.Dockerfile
|
||||
file: ./docker/build_and_push_base.Dockerfile
|
||||
tags: |
|
||||
langflowai/langflow:base-${{ needs.release.outputs.version }}
|
||||
|
|
|
|||
2
.github/workflows/pre-release-langflow.yml
vendored
2
.github/workflows/pre-release-langflow.yml
vendored
|
|
@ -78,7 +78,7 @@ jobs:
|
|||
with:
|
||||
context: .
|
||||
push: true
|
||||
file: ./build_and_push.Dockerfile
|
||||
file: ./docker/build_and_push.Dockerfile
|
||||
tags: |
|
||||
langflowai/langflow:${{ needs.release.outputs.version }}
|
||||
langflowai/langflow:1.0-alpha
|
||||
|
|
|
|||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -50,7 +50,7 @@ jobs:
|
|||
with:
|
||||
context: .
|
||||
push: true
|
||||
file: ./build_and_push.Dockerfile
|
||||
file: ./docker/build_and_push.Dockerfile
|
||||
tags: |
|
||||
langflowai/langflow:${{ steps.check-version.outputs.version }}
|
||||
langflowai/langflow:latest
|
||||
|
|
|
|||
16
.github/workflows/typescript_test.yml
vendored
16
.github/workflows/typescript_test.yml
vendored
|
|
@ -19,8 +19,8 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
shardIndex: [1]
|
||||
shardTotal: [1]
|
||||
shardIndex: [1, 2, 3, 4]
|
||||
shardTotal: [4]
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -30,7 +30,15 @@ jobs:
|
|||
id: setup-node
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: "npm"
|
||||
|
||||
- name: Cache Node.js dependencies
|
||||
uses: actions/cache@v4
|
||||
id: npm-cache
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('src/frontend/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
|
||||
- name: Install Node.js dependencies
|
||||
run: |
|
||||
|
|
@ -80,7 +88,7 @@ jobs:
|
|||
- name: Run Playwright Tests
|
||||
run: |
|
||||
cd src/frontend
|
||||
npx playwright test
|
||||
npx playwright test --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --workers 2
|
||||
|
||||
- name: Upload blob report to GitHub Actions Artifacts
|
||||
if: always()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue