-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into add/sfcc-token-management
- Loading branch information
Showing
32 changed files
with
830 additions
and
2,911 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: E2E Tests | ||
|
||
on: | ||
# Run on all pull requests. | ||
pull_request: | ||
push: | ||
branches: | ||
- trunk | ||
|
||
# Cancels all previous workflow runs for pull requests that have not completed. | ||
concurrency: | ||
# The concurrency group contains the workflow name and the branch name for pull requests | ||
# or the commit hash for any other events. | ||
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
name: End-to-End Testing against WordPress | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Use desired version of NodeJS | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 20 | ||
cache: npm | ||
|
||
- name: Npm install | ||
run: | | ||
npm ci | ||
- name: Install Playwright dependencies | ||
run: | | ||
npx playwright install chromium --with-deps | ||
- name: Start up WordPress environment | ||
run: | | ||
npm run dev:build | ||
- name: Run E2E tests | ||
env: | ||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 | ||
run: | | ||
npm run test:e2e | ||
- name: Stop WordPress environment | ||
run: | | ||
npm run dev:stop | ||
- name: Archive E2E results | ||
uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: test-results | ||
path: artifacts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Documentation | ||
|
||
For plugin overview and getting started guide, see [README](../README.md). | ||
|
||
## Table of Contents | ||
|
||
- [Core Concepts](concepts/index.md) | ||
|
||
- [Block Bindings](concepts/block-bindings.md) | ||
- [Field Shortcodes](concepts/field-shortcodes.md) | ||
|
||
- [Extending](extending/index.md) | ||
|
||
- [Block Patterns](extending/block-patterns.md) | ||
- [Block Registration](extending/block-registration.md) | ||
- [Data Source](extending/data-source.md) | ||
- [Hooks](extending/hooks.md) | ||
- [Query](extending/query.md) | ||
- [Query Runner](extending/query-runner.md) | ||
|
||
- [Workflows](workflows/index.md) | ||
|
||
- [Airtable Integration](workflows/airtable-with-code.md) | ||
- [Google Sheets Integration](workflows/google-sheets-with-code.md) | ||
- [ZIP Code Integration](workflows/zip-code-with-contract.md) | ||
|
||
- [Development](local-development.md) | ||
- [Troubleshooting](troubleshooting.md) | ||
- [Releasing](releasing.md) | ||
|
||
## Additional Documentation | ||
|
||
- [Contributing Guidelines](../CONTRIBUTING.md) | ||
- [Security Policy](../SECURITY.md) | ||
- [Code of Conduct](https://make.wordpress.org/handbook/community-code-of-conduct/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.