diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3acb8a8..63d8d1f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -41,6 +41,8 @@ jobs: run: yarn --frozen-lockfile --unsafe-perm - name: Install dependencies playground run: yarn playground:install --frozen-lockfile --unsafe-perm + - name: Build playground + run: yarn playground:build - name: Run test run: yarn run -s test:integration # unit: diff --git a/package.json b/package.json index feb6a57..171f77c 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "test:integration": "cd playground && jest --verbose", "plugin:install": "yarn install && rm -rf node_modules/@strapi/helper-plugin", "playground:install": "cd playground && yarn install", + "playground:build": "cd playground && yarn build --clean", "playground:develop": "cd playground && yarn develop" }, "dependencies": {