- Timestamp:
- 01/22/2025 03:13:21 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/reusable-test-gutenberg-build-process.yml
r59354 r59679 23 23 NODE_OPTIONS: '--max-old-space-size=8192' 24 24 25 # Disable permissions for all available scopes by default. 26 # Any needed permissions should be configured at the job level. 27 permissions: {} 28 25 29 jobs: 26 30 # Verifies that installing npm dependencies and building the Gutenberg plugin works as expected. … … 39 43 build-process-tests: 40 44 name: Gutenberg running from ${{ inputs.directory }} / ${{ contains( inputs.os, 'macos-' ) && 'MacOS' || contains( inputs.os, 'windows-' ) && 'Windows' || 'Linux' }} 45 permissions: 46 contents: read 41 47 runs-on: ${{ inputs.os }} 42 48 timeout-minutes: 30 … … 47 53 with: 48 54 show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} 55 persist-credentials: false 49 56 50 57 - name: Checkout Gutenberg plugin … … 54 61 path: ${{ env.GUTENBERG_DIRECTORY }} 55 62 show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} 63 persist-credentials: false 56 64 57 65 - name: Set up Node.js … … 83 91 84 92 - name: Build WordPress to run from ${{ inputs.directory }} 85 run: npm run build${{ inputs.directory == 'src' && ':dev' || '' }}93 run: npm run ${{ inputs.directory == 'src' && 'build:dev' || 'build' }} 86 94 87 95 - name: Run Gutenberg build script after building Core to run from ${{ inputs.directory }}
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)