Skip to content

Commit 22825c1

Browse files
authored
Make sure nodejs runs with a specific version to not break build. (#33)
1 parent bda09dd commit 22825c1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/wp-release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,15 @@ jobs:
1515
dev: no
1616
php_version: 7.4
1717
php_extensions: bcmath
18-
- name: Build assets and translation files
18+
- name: Set up Node.js
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: '16'
22+
- name: Install Node.js dependencies
1923
run: |
2024
npm install
25+
- name: Build assets and translation files
26+
run: |
2127
npm run build
2228
- name: WordPress Plugin Deploy
2329
id: deploy

0 commit comments

Comments
 (0)