mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -04:00
fix: use npm tasks instead of running turbo directly
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
785ef316ab
commit
6263af5ee2
8 changed files with 15 additions and 13 deletions
10
.github/workflows/e2e-tests.yml
vendored
10
.github/workflows/e2e-tests.yml
vendored
|
@ -37,7 +37,7 @@ jobs:
|
|||
NODEJS_VERSION: ${{ env.NODEJS_VERSION }}
|
||||
|
||||
- name: Run e2e tests
|
||||
run: yarn turbo run test:e2e:ci --filter=backend
|
||||
run: yarn test:e2e:ci --filter=backend
|
||||
shell: bash
|
||||
env:
|
||||
HEDGEDOC_TEST_DB_TYPE: sqlite
|
||||
|
@ -78,7 +78,7 @@ jobs:
|
|||
NODEJS_VERSION: ${{ env.NODEJS_VERSION }}
|
||||
|
||||
- name: Run e2e tests
|
||||
run: yarn turbo run test:e2e:ci --filter=backend
|
||||
run: yarn test:e2e:ci --filter=backend
|
||||
shell: bash
|
||||
env:
|
||||
HEDGEDOC_TEST_DB_TYPE: mariadb
|
||||
|
@ -109,7 +109,7 @@ jobs:
|
|||
NODEJS_VERSION: ${{ env.NODEJS_VERSION }}
|
||||
|
||||
- name: Run e2e tests
|
||||
run: yarn turbo run test:e2e:ci --filter=backend
|
||||
run: yarn test:e2e:ci --filter=backend
|
||||
shell: bash
|
||||
env:
|
||||
HEDGEDOC_TEST_DB_TYPE: postgres
|
||||
|
@ -133,7 +133,7 @@ jobs:
|
|||
NODEJS_VERSION: ${{ env.NODEJS_VERSION }}
|
||||
|
||||
- name: Build test production build
|
||||
run: yarn turbo run build:test --filter=frontend
|
||||
run: yarn build:test --filter=frontend
|
||||
shell: bash
|
||||
env:
|
||||
NODEJS_VERSION: ${{ env.NODEJS_VERSION }}
|
||||
|
@ -197,7 +197,7 @@ jobs:
|
|||
run: "curl -L --max-time 120 http://127.0.0.1:3001/"
|
||||
|
||||
- name: Run cypress
|
||||
run: yarn turbo run test:e2e:ci --filter=frontend
|
||||
run: yarn test:e2e:ci --filter=frontend
|
||||
shell: bash
|
||||
env:
|
||||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
||||
|
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
run: echo "HD_BASE_URL=\"https://hedgedoc.dev/\"" >> .env.production
|
||||
|
||||
- name: Build app
|
||||
run: yarn turbo run build --filter=frontend
|
||||
run: yarn build --filter=frontend
|
||||
shell: bash
|
||||
working-directory: .
|
||||
env:
|
||||
|
|
|
@ -67,7 +67,7 @@ jobs:
|
|||
run: echo "HD_BASE_URL=\"${{ env.DEPLOY_URL }}\"" >> .env.production
|
||||
|
||||
- name: Build app
|
||||
run: yarn turbo run build --filter=frontend
|
||||
run: yarn build --filter=frontend
|
||||
shell: bash
|
||||
working-directory: .
|
||||
env:
|
||||
|
|
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
|||
NODEJS_VERSION: ${{ env.NODEJS_VERSION }}
|
||||
|
||||
- name: Run ESLint
|
||||
run: yarn turbo run lint
|
||||
run: yarn lint
|
||||
shell: bash
|
||||
env:
|
||||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
||||
|
|
4
.github/workflows/test-and-build.yml
vendored
4
.github/workflows/test-and-build.yml
vendored
|
@ -34,7 +34,7 @@ jobs:
|
|||
NODEJS_VERSION: ${{ matrix.node }}
|
||||
|
||||
- name: Build project
|
||||
run: yarn turbo run build
|
||||
run: yarn build
|
||||
shell: bash
|
||||
env:
|
||||
NODEJS_VERSION: ${{ matrix.node }}
|
||||
|
@ -43,7 +43,7 @@ jobs:
|
|||
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
|
||||
|
||||
- name: Test Project
|
||||
run: yarn turbo run test:ci
|
||||
run: yarn test:ci
|
||||
shell: bash
|
||||
env:
|
||||
NODEJS_VERSION: ${{ matrix.node }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue