mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Fixed building Admin in development mode for browser tests
- I switched over `build` to run in production mode because we now do `lerna run build` during the release process, but this was bundling development assets - this adds `build:dev` and switches the browser test to use that, so they should use the development assets moving forwards
This commit is contained in:
parent
4207c9d0d1
commit
16ea824f71
2 changed files with 2 additions and 2 deletions
2
.github/workflows/browser-tests.yml
vendored
2
.github/workflows/browser-tests.yml
vendored
|
@ -63,7 +63,7 @@ jobs:
|
|||
- name: Build Admin
|
||||
if: env.ENVIRONMENT == 'browser-tests-local'
|
||||
working-directory: ghost/admin
|
||||
run: yarn build --silent
|
||||
run: yarn build:dev
|
||||
|
||||
- name: Run Playwright tests on a remote site
|
||||
if: env.ENVIRONMENT == 'browser-tests-staging'
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"scripts": {
|
||||
"start": "ember serve",
|
||||
"build": "ember build --environment=production --silent",
|
||||
"build:prod": "yarn build",
|
||||
"build:dev": "yarn build --environment=development",
|
||||
"test:unit": "true",
|
||||
"test": "ember exam --split 2 --parallel",
|
||||
"lint:js": "eslint . --cache",
|
||||
|
|
Loading…
Add table
Reference in a new issue