diff --git a/.distignore b/.distignore index 1ccad3f..27257af 100644 --- a/.distignore +++ b/.distignore @@ -8,7 +8,7 @@ tests/ .browserslistrc .distignore .editorconfig -.eslintrc.js +eslint.config.mjs .gitignore .phpunit.result.cache .prettierrc.js diff --git a/.github/workflows/plugin-check.yml b/.github/workflows/plugin-check.yml new file mode 100644 index 0000000..ebe58c3 --- /dev/null +++ b/.github/workflows/plugin-check.yml @@ -0,0 +1,18 @@ +# Run WP.org's plugin check. +# +# This file is managed in https://github.com/happyprime/projects +name: WP.org Plugin Check + +on: + push: + branches: + - trunk + pull_request: + branches: + - trunk + +jobs: + call-workflow: + uses: happyprime/workflows/.github/workflows/plugin-check.yml@trunk + with: + php-version: '8.3' diff --git a/.github/workflows/verify-build.yml b/.github/workflows/verify-build.yml new file mode 100644 index 0000000..e50dd7f --- /dev/null +++ b/.github/workflows/verify-build.yml @@ -0,0 +1,19 @@ +# This file is managed in https://github.com/happyprime/projects +name: Verify build (Node 24) + +on: pull_request + +# The GITHUB_TOKEN used by Dependabot has read-only permissions by default. We +# provide write permissions to this workflow so that comments can be left on +# the pull request. +# +# @see https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#changing-github_token-permissions +permissions: + contents: read + pull-requests: write + +jobs: + call-workflow: + uses: happyprime/workflows/.github/workflows/verify-build.yml@trunk + with: + node-version: 24