diff --git a/.changeset/beige-cooks-argue.md b/.changeset/beige-cooks-argue.md deleted file mode 100644 index 3792de8a..00000000 --- a/.changeset/beige-cooks-argue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/hwp-previews-wordpress-plugin": patch ---- - -chore: Initial beta release of hwp-previews wordpress plugin. diff --git a/.changeset/fast-bikes-glow.md b/.changeset/fast-bikes-glow.md new file mode 100644 index 00000000..8ec19a93 --- /dev/null +++ b/.changeset/fast-bikes-glow.md @@ -0,0 +1,5 @@ +--- +"@wpengine/hwp-previews-wordpress-plugin": patch +--- + +chore: Initial beta release of hwp-previews. diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index e56d65e3..4b718b4c 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -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: | @@ -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 @@ -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: | @@ -110,6 +116,8 @@ jobs: git config user.email "github-actions@github.com" 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 }} diff --git a/plugins/hwp-previews/TESTING.md b/plugins/hwp-previews/TESTING.md index 3ac32f38..5df38667 100644 --- a/plugins/hwp-previews/TESTING.md +++ b/plugins/hwp-previews/TESTING.md @@ -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).