diff --git a/.github/workflows/Electron.yml b/.github/workflows/Electron.yml index 9cb7da0..c1e8860 100644 --- a/.github/workflows/Electron.yml +++ b/.github/workflows/Electron.yml @@ -21,7 +21,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Upgrade node-gyp - run: npm install --global node-gyp@latest && (for /f "delims=" %P in ('npm prefix -g') do npm config set node_gyp"%P\node_modules\node-gyp\bin\node-gyp.js") + run: npm install --global node-gyp@latest && npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gypjs"} - name: Install dependencies run: cd Dashboard && yarn --network-timeout 1000000000 - name: Build