fix: turbo filter commands

turbo now wants you to specify the whole name and not just part of the name.

See: https://github.com/vercel/turborepo/pull/8137
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2024-08-31 12:39:15 +02:00
parent 9bb33cbc70
commit 03a388c6f9
3 changed files with 7 additions and 7 deletions

View file

@ -37,7 +37,7 @@ jobs:
NODEJS_VERSION: ${{ env.NODEJS_VERSION }} NODEJS_VERSION: ${{ env.NODEJS_VERSION }}
- name: Run e2e tests - name: Run e2e tests
run: yarn test:e2e:ci --filter=backend run: yarn test:e2e:ci --filter=@hedgedoc/backend
shell: bash shell: bash
env: env:
HEDGEDOC_TEST_DB_TYPE: sqlite HEDGEDOC_TEST_DB_TYPE: sqlite
@ -78,7 +78,7 @@ jobs:
NODEJS_VERSION: ${{ env.NODEJS_VERSION }} NODEJS_VERSION: ${{ env.NODEJS_VERSION }}
- name: Run e2e tests - name: Run e2e tests
run: yarn test:e2e:ci --filter=backend run: yarn test:e2e:ci --filter=@hedgedoc/backend
shell: bash shell: bash
env: env:
HEDGEDOC_TEST_DB_TYPE: mariadb HEDGEDOC_TEST_DB_TYPE: mariadb
@ -109,7 +109,7 @@ jobs:
NODEJS_VERSION: ${{ env.NODEJS_VERSION }} NODEJS_VERSION: ${{ env.NODEJS_VERSION }}
- name: Run e2e tests - name: Run e2e tests
run: yarn test:e2e:ci --filter=backend run: yarn test:e2e:ci --filter=@hedgedoc/backend
shell: bash shell: bash
env: env:
HEDGEDOC_TEST_DB_TYPE: postgres HEDGEDOC_TEST_DB_TYPE: postgres
@ -133,7 +133,7 @@ jobs:
NODEJS_VERSION: ${{ env.NODEJS_VERSION }} NODEJS_VERSION: ${{ env.NODEJS_VERSION }}
- name: Build test production build - name: Build test production build
run: yarn build:test --filter=frontend run: yarn build:test --filter=@hedgedoc/frontend
shell: bash shell: bash
env: env:
NODEJS_VERSION: ${{ env.NODEJS_VERSION }} NODEJS_VERSION: ${{ env.NODEJS_VERSION }}
@ -200,7 +200,7 @@ jobs:
run: "sleep 3 && curl -L --max-time 120 http://127.0.0.1:3001/" run: "sleep 3 && curl -L --max-time 120 http://127.0.0.1:3001/"
- name: Run cypress - name: Run cypress
run: yarn test:e2e:ci --filter=frontend run: yarn test:e2e:ci --filter=@hedgedoc/frontend
shell: bash shell: bash
env: env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}

View file

@ -40,7 +40,7 @@ ARG TURBO_TEAM
ARG TURBO_API ARG TURBO_API
ARG TURBO_TOKEN ARG TURBO_TOKEN
RUN yarn build --filter=backend --no-cache --no-daemon RUN yarn build --filter=@hedgedoc/backend --no-cache --no-daemon
## Stage 2b: Install only prod dependencies ## Stage 2b: Install only prod dependencies
FROM code-with-deps as prod-dependencies FROM code-with-deps as prod-dependencies

View file

@ -26,7 +26,7 @@ ARG TURBO_TEAM
ARG TURBO_API ARG TURBO_API
ARG TURBO_TOKEN ARG TURBO_TOKEN
RUN yarn build --filter=frontend --no-cache --no-daemon RUN yarn build --filter=@hedgedoc/frontend --no-cache --no-daemon
# RUNNER # RUNNER
FROM base FROM base