Skip to content

Commit f6edbe1

Browse files
committed
fix: build & start the playground for e2e testing
1 parent 80e5053 commit f6edbe1

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

.github/workflows/tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ jobs:
5555
run: cd playground && yarn install --unsafe-perm
5656
- name: Build playground
5757
run: yarn playground:build
58-
# - name: Run Jest tests
59-
# run: yarn test:jest
60-
- name: Run Cypress tests
58+
- name: Run unit tests
59+
run: yarn test:unit
60+
- name: Run end-to-end tests
6161
uses: cypress-io/github-action@v6
6262
with:
63-
start: yarn playground:start
63+
start: yarn playground:build-and-start
6464
- uses: actions/upload-artifact@v4
6565
if: failure()
6666
with:

dependabot.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: /
5+
schedule:
6+
interval: daily
7+
ignore:
8+
- dependency-name: '\*'
9+
update-types: ["version-update:semver-patch"]
10+
groups:
11+
strapi:
12+
patterns:
13+
- "@strapi/*"

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"playground:yalc-add-link": "cd playground && yalc add --link strapi-plugin-boilerplate",
3838
"playground:build": "cd playground && yarn build",
3939
"playground:develop": "cd playground && yarn develop",
40-
"playground:start": "cd playground && yarn start"
40+
"playground:start": "cd playground && yarn start",
41+
"playground:build-and-start": "cd playground && yarn build && yarn start"
4142
},
4243
"dependencies": {
4344
"@strapi/design-system": "^2.0.0-rc.14",

0 commit comments

Comments
 (0)