The official GitHub Action for running Plugwright end-to-end tests for your Paper/Spigot plugins.
This composite action automatically sets up Java, Node.js, and runs your test suite in one simple step.
Add this to your .github/workflows/e2e.yml:
name: E2E Testson: [push, pull_request]jobs:
test:
runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v4
- uses: drownek/plugwright-action@v1| Name | Description | Default |
|---|---|---|
java-version | Java version to use for building the plugin. | 17 |
java-distribution | Java distribution to use. | temurin |
node-version | Node.js version to use for tests. | 16 |
gradle-args | Additional arguments to pass to gradle. | plugwrightTest |
working-directory | Directory where your gradlew wrapper is located. | . |
steps:
- uses: actions/checkout@v4
- uses: drownek/plugwright-action@v1with:
java-version: '21'node-version: '20'working-directory: './backend'MIT