From 22825c1e9054a021a1c78c9aa861d77389c08a74 Mon Sep 17 00:00:00 2001 From: ndeet Date: Fri, 15 Dec 2023 09:31:20 +0100 Subject: [PATCH] Make sure nodejs runs with a specific version to not break build. (#33) --- .github/workflows/wp-release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wp-release.yml b/.github/workflows/wp-release.yml index 3886a77..0ba0187 100644 --- a/.github/workflows/wp-release.yml +++ b/.github/workflows/wp-release.yml @@ -15,9 +15,15 @@ jobs: dev: no php_version: 7.4 php_extensions: bcmath - - name: Build assets and translation files + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '16' + - name: Install Node.js dependencies run: | npm install + - name: Build assets and translation files + run: | npm run build - name: WordPress Plugin Deploy id: deploy