Skip to content

Commit 19a9e06

Browse files
committed
run tests
1 parent c8252b7 commit 19a9e06

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/plugin-build.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,19 @@ jobs:
2727
node ./tools/append-build-version.js $VERSION_SUFFIX
2828
cp -r build/stackable stackable-$VERSION_SUFFIX
2929
30+
- name: Install wp-env
31+
run: |
32+
npm install -g @wordpress/env
33+
34+
- name: Start wp-env
35+
run: wp-env start
36+
37+
- name: Run playwright tests
38+
run: npm run test
39+
40+
- name: Stop wp-env
41+
run: wp-env stop
42+
3043
# Keep this for now. Our plan is to simplify all tests into this one
3144
# workflow, this is needed so we can reuse the build folder across sub jobs.
3245
# - name: Create plugin zip file artifact uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)