Skip to content

Commit 72d23e6

Browse files
committed
fix: gh actions failing
1 parent b50ad57 commit 72d23e6

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

.github/workflows/build-dev-artifact.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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)"

.github/workflows/deploy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,15 @@ jobs:
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

.github/workflows/test-php.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ jobs:
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'] }}

0 commit comments

Comments
 (0)