diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 36c571b..03d64c5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -75,8 +75,9 @@ jobs: yarn yarn django migrate # start the backend first for the SSR - yarn start-p & + yarn start-back-p & sleep 10 + yarn static-p find static chromedriver --version yarn test diff --git a/{{cookiecutter.slug}}/.github/workflows/test.yml b/{{cookiecutter.slug}}/.github/workflows/test.yml index 2c21a50..a02cd8e 100644 --- a/{{cookiecutter.slug}}/.github/workflows/test.yml +++ b/{{cookiecutter.slug}}/.github/workflows/test.yml @@ -79,8 +79,9 @@ jobs: yarn yarn django migrate # start the backend first for the SSR - yarn start-p & + yarn start-back-p & sleep 10 + yarn static-p find static chromedriver --version yarn test diff --git a/{{cookiecutter.slug}}/package.angular.json b/{{cookiecutter.slug}}/package.angular.json index b808a88..e8e3e33 100644 --- a/{{cookiecutter.slug}}/package.angular.json +++ b/{{cookiecutter.slug}}/package.angular.json @@ -29,7 +29,6 @@ "watch-back": "yarn livereload-back & yarn watch-test-back", "start": "yarn start-front & yarn start-back & yarn watch-back", "build": "yarn front yarn build", - "build-p": "yarn build", "collectstatic-p": "cd backend && python manage.py collectstatic --noinput -v 0 --settings collect --pythonpath ..", "clean-static": "rm -rf static || rd /S /Q static", "static-p": "yarn build && yarn clean-static && yarn collectstatic-p",