mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +00:00
feat: add GitHub CI skeleton for CLI tests
This commit is contained in:
parent
cc1043c512
commit
326732dc89
23
.github/workflows/tests.yml
vendored
23
.github/workflows/tests.yml
vendored
@ -189,6 +189,29 @@ jobs:
|
|||||||
path: test-apps/e2e/**/test-results/**/trace.zip
|
path: test-apps/e2e/**/test-results/**/trace.zip
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
|
cli:
|
||||||
|
timeout-minutes: 60
|
||||||
|
needs: [changes, build, typescript, unit_front]
|
||||||
|
name: 'cli'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 18
|
||||||
|
|
||||||
|
- name: Monorepo install
|
||||||
|
uses: ./.github/actions/yarn-nm-install
|
||||||
|
|
||||||
|
- name: Monorepo build
|
||||||
|
uses: ./.github/actions/run-build
|
||||||
|
|
||||||
|
- name: Run CLI tests
|
||||||
|
run: yarn test:cli
|
||||||
|
|
||||||
api_ce_pg:
|
api_ce_pg:
|
||||||
if: needs.changes.outputs.backend == 'true'
|
if: needs.changes.outputs.backend == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user