Skip to content

Commit

Permalink
fix: build & start the playground for e2e testing
Browse files Browse the repository at this point in the history
  • Loading branch information
boazpoolman committed Jan 25, 2025
1 parent 80e5053 commit f6edbe1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ jobs:
run: cd playground && yarn install --unsafe-perm
- name: Build playground
run: yarn playground:build
# - name: Run Jest tests
# run: yarn test:jest
- name: Run Cypress tests
- name: Run unit tests
run: yarn test:unit
- name: Run end-to-end tests
uses: cypress-io/github-action@v6
with:
start: yarn playground:start
start: yarn playground:build-and-start
- uses: actions/upload-artifact@v4
if: failure()
with:
Expand Down
13 changes: 13 additions & 0 deletions dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: npm
directory: /
schedule:
interval: daily
ignore:
- dependency-name: '\*'
update-types: ["version-update:semver-patch"]
groups:
strapi:
patterns:
- "@strapi/*"
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"playground:yalc-add-link": "cd playground && yalc add --link strapi-plugin-boilerplate",
"playground:build": "cd playground && yarn build",
"playground:develop": "cd playground && yarn develop",
"playground:start": "cd playground && yarn start"
"playground:start": "cd playground && yarn start",
"playground:build-and-start": "cd playground && yarn build && yarn start"
},
"dependencies": {
"@strapi/design-system": "^2.0.0-rc.14",
Expand Down

0 comments on commit f6edbe1

Please sign in to comment.