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