Skip to content

Prevent PRs from merging if they do not track the correct milestone for the target branch #13839

Prevent PRs from merging if they do not track the correct milestone for the target branch

Prevent PRs from merging if they do not track the correct milestone for the target branch #13839

Workflow file for this run

name: check-plugins-build
on:
pull_request:
branches:
- master
env:
TEST_PERSIST_BUILD: true
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Enable Corepack
run: corepack enable
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Validate Plugin build system
run: ./shell/scripts/test-plugins-build.sh
shell: bash
- name: Upload files
uses: actions/upload-artifact@v5
if: failure()
with:
name: test
path: |
/tmp/tmp.**/test-app
!/tmp/tmp.**/test-app/dist/js/*.map
!/tmp/tmp.**/test-app/node_modules/
!/tmp/tmp.**/test-app/pkg/test-pkg/node_modules/
retention-days: 2