mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-18 02:21:47 -05:00
Added command to run browser tests from project root
This commit is contained in:
parent
af0f26c75f
commit
feca626dfa
2 changed files with 3 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -355,7 +355,7 @@ jobs:
|
|||
run: yarn nx run ghost-admin:build:dev
|
||||
|
||||
- name: Run Playwright tests locally
|
||||
run: yarn test:browser
|
||||
run: yarn test:browser:ci
|
||||
env:
|
||||
CI: true
|
||||
STRIPE_PUBLISHABLE_KEY: ${{ secrets.STRIPE_PUBLISHABLE_KEY }}
|
||||
|
|
|
@ -40,7 +40,8 @@
|
|||
"lint": "nx run-many -t lint",
|
||||
"test": "nx run-many -t test",
|
||||
"test:unit": "nx run-many -t test:unit",
|
||||
"test:browser": "node .github/scripts/dev.js --browser-tests --all",
|
||||
"test:browser:ci": "node .github/scripts/dev.js --browser-tests --all",
|
||||
"test:browser": "yarn nx run ghost:test:browser",
|
||||
"main": "yarn main:monorepo && yarn main:submodules",
|
||||
"main:monorepo": "git checkout main && git pull ${GHOST_UPSTREAM:-origin} main && yarn",
|
||||
"main:submodules": "git submodule sync && git submodule update && git submodule foreach \"git checkout main && git pull ${GHOST_UPSTREAM:-origin} main\"",
|
||||
|
|
Loading…
Add table
Reference in a new issue