Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/beige-cooks-argue.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/fast-bikes-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wpengine/hwp-previews-wordpress-plugin": patch
---

chore: Initial beta release of hwp-previews.
8 changes: 8 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:

- name: Apply version bumps from changesets
run: pnpm changeset version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Commit updated package.json and changelogs
run: |
Expand All @@ -68,6 +70,8 @@ jobs:
git add .
git commit -m "chore: apply version bump from changesets" || echo "No changes to commit"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Read package metadata
id: metadata
Expand Down Expand Up @@ -95,6 +99,8 @@ jobs:
echo "package_name=$package_name" >> $GITHUB_OUTPUT
echo "package_version=$package_version" >> $GITHUB_OUTPUT
echo "PLUGIN_DIR=$PLUGIN_DIR" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Git tag
run: |
Expand All @@ -110,6 +116,8 @@ jobs:
git config user.email "[email protected]"
git tag "$TAG_NAME"
git push origin "$TAG_NAME"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run composer install
working-directory: ${{ steps.metadata.outputs.PLUGIN_DIR }}
Expand Down
1 change: 0 additions & 1 deletion plugins/hwp-previews/TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Tests are organized into suites for unit, integration (wpunit), functional, and

## Test Suites

- **unit**: Pure PHP unit tests, no WordPress loaded.
- **wpunit**: Unit/integration tests with WordPress loaded.
- **functional**: Simulates web requests, runs WordPress in a test environment.
- **acceptance**: Browser-based tests (WPBrowser/WPWebDriver).
Expand Down
Loading