From 883d22cf760a2eef0c2171b96ad102e953550bb1 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 7 Mar 2022 09:10:22 -0800 Subject: [PATCH] Force worfklow to run under node 12 --- .github/workflows/javascript-packages.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/javascript-packages.yaml b/.github/workflows/javascript-packages.yaml index 095a35533..0573d1e6b 100644 --- a/.github/workflows/javascript-packages.yaml +++ b/.github/workflows/javascript-packages.yaml @@ -15,11 +15,13 @@ jobs: with: # Make sure the actual branch is checked out when running on pull requests ref: ${{ github.head_ref }} - - - name: Install dependencies - run: | - cd build/javascript - npm run build + + - name: Build dependencies + - uses: actions/setup-node@v2 + with: + node-version: '12' + - run: cd build/javascript + - run: npm run build - name: Commit changes uses: EndBug/add-and-commit@v5