From 88463cd52e5046922e15ca5920ce0466d8ebc160 Mon Sep 17 00:00:00 2001 From: blam Date: Thu, 15 Jun 2023 15:32:09 +0200 Subject: [PATCH] chore: remove node-gyp cache Signed-off-by: blam --- .github/workflows/verify_e2e-windows.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/verify_e2e-windows.yml b/.github/workflows/verify_e2e-windows.yml index a454c57c4e..82b599ccec 100644 --- a/.github/workflows/verify_e2e-windows.yml +++ b/.github/workflows/verify_e2e-windows.yml @@ -18,7 +18,7 @@ concurrency: jobs: build: - runs-on: windows-2019 + runs-on: windows-2022 strategy: matrix: @@ -48,10 +48,24 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + + - name: setup python + uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v1.3.1 + + - name: Patch node-gyp to support Visual Studio 2022 + shell: powershell + run: | + npm install --global node-gyp@latest + npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"} + - name: setup chrome uses: browser-actions/setup-chrome@latest + - name: yarn install run: yarn install --immutable