From 02d3147023bfbbac5a0e62ecdb93d3321cbf2178 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Thu, 14 Dec 2023 21:14:40 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20node=5Fmodules.zip=20unzip?= =?UTF-8?q?=20cwd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/preview.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index b05d86738..7001c31e4 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -109,16 +109,14 @@ jobs: - name: Unzip node_modules for esbuild on Apple Silicon if: matrix.os == 'macos-latest' && matrix.arch == 'arm64' - run: unzip extensions/vscode/out/node_modules.zip + run: | + cd extensions/vscode/out + unzip node_modules.zip - name: Remove node_modules.zip for esbuild on Apple Silicon if: matrix.os == 'macos-latest' && matrix.arch == 'arm64' run: rm extensions/vscode/out/node_modules.zip - - name: Verify that node_modules was downloaded - if: matrix.os == 'macos-latest' && matrix.arch == 'arm64' - run: ls extensions/vscode/out - # 3. Run tests for the extension # - name: Install Xvfb for Linux and run tests