Skip to content

12032 reusable wf tests #13

12032 reusable wf tests

12032 reusable wf tests #13

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@v4
- name: Enable Corepack
run: corepack enable
- name: Setup Node.js
uses: actions/setup-node@v4
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@v3
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