File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed
Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ concurrency:
2323 cancel-in-progress : ${{ github.event_name == 'pull_request' }}
2424
2525jobs :
26- build-plugin :
27- if : github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run-tests')
28- name : Build plugin
29- uses : ./.github/workflows/build.yml
26+ # build-plugin:
27+ # if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run-tests')
28+ # name: Build plugin
29+ # uses: ./.github/workflows/build.yml
3030
3131 Playwright :
3232 name : Playwright test on PHP 8.1
3333 runs-on : ubuntu-22.04
34- needs : [build-plugin]
34+ # needs: [build-plugin]
3535 if : github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run-tests')
3636 steps :
3737 - name : Checkout source code
@@ -43,16 +43,10 @@ jobs:
4343 node-version : 20.x
4444 cache : ' npm'
4545
46- - name : Download build artifact
47- uses : actions/download-artifact@v4
48- with :
49- artifact-ids : ${{ needs.build-plugin.outputs.artifact_id }}
50- path : ./build
51-
52- - name : Copy built plugin to source directory
46+ - name : Install & Build
47+ id : build
5348 run : |
54- rm -rf ./src
55- cp -r ./build/code-snippets ./src
49+ npm install && npm run bundle
5650
5751 - name : Install workflow dependencies (wp-env, playwright)
5852 run : npm run prepare-environment:ci
You can’t perform that action at this time.
0 commit comments