File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,19 @@ jobs:
1313 name : Build ZIP and upload to s3
1414 if : github.event.pull_request.draft == false && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
1515 runs-on : ubuntu-latest
16+ strategy :
17+ matrix :
18+ node-version : [14.x]
1619 outputs :
1720 branch-name : ${{ steps.retrieve-branch-name.outputs.branch_name }}
1821 git-sha-8 : ${{ steps.retrieve-git-sha-8.outputs.sha8 }}
1922 steps :
2023 - name : Check out source files
2124 uses : actions/checkout@v2
25+ - name : Build files using ${{ matrix.node-version }}
26+ uses : actions/setup-node@v1
27+ with :
28+ node-version : ${{ matrix.node-version }}
2229 - name : Get yarn cache directory path
2330 id : yarn-cache-dir-path
2431 run : echo "::set-output name=dir::$(yarn cache dir)"
Original file line number Diff line number Diff line change 88 tag :
99 name : New version
1010 runs-on : ubuntu-latest
11+ strategy :
12+ matrix :
13+ node-version : [14.x]
1114 steps :
1215 - uses : actions/checkout@master
16+ - name : Build files using ${{ matrix.node-version }}
17+ uses : actions/setup-node@v1
18+ with :
19+ node-version : ${{ matrix.node-version }}
1320 - name : Build
1421 run : |
1522 yarn install --frozen-lockfile
Original file line number Diff line number Diff line change 5656 tools : phpunit-polyfills
5757 - name : Checkout source code
5858 uses : actions/checkout@v2
59+ - name : Install Subversion
60+ run : sudo apt-get update && sudo apt-get install -y subversion
5961 - name : Install WordPress Test Suite
6062 run : |
6163 bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1:${{ job.services.mysql.ports['3306'] }}
You can’t perform that action at this time.
0 commit comments