From 62ce9b5ac5e1dfd43ab0704a0059594cd50f92d6 Mon Sep 17 00:00:00 2001 From: Ting-Wai To <40179554+tingwai@users.noreply.github.com> Date: Fri, 5 Sep 2025 16:21:05 -0700 Subject: [PATCH] fix: workflow run npm ci on cache miss --- .../actions/run-vscode-e2e-test/action.yml | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/actions/run-vscode-e2e-test/action.yml b/.github/actions/run-vscode-e2e-test/action.yml index 1fcba5245..d9ac252af 100644 --- a/.github/actions/run-vscode-e2e-test/action.yml +++ b/.github/actions/run-vscode-e2e-test/action.yml @@ -1,25 +1,25 @@ -name: 'Run VS Code E2E Test' -description: 'Run a single VS Code E2E test with all required setup' +name: "Run VS Code E2E Test" +description: "Run a single VS Code E2E test with all required setup" inputs: test_file: - description: 'E2E test file to run' + description: "E2E test file to run" required: true command: - description: 'Command to run (e2e:ci:run or e2e:ci:run-yaml)' + description: "Command to run (e2e:ci:run or e2e:ci:run-yaml)" required: true ssh_key: - description: 'SSH private key for testing' + description: "SSH private key for testing" required: false ssh_host: - description: 'SSH host for testing' + description: "SSH host for testing" required: false is_fork: - description: 'Whether this is a fork (affects SSH tests)' + description: "Whether this is a fork (affects SSH tests)" required: false - default: 'false' + default: "false" runs: - using: 'composite' + using: "composite" steps: - uses: actions/setup-node@v4 with: @@ -58,6 +58,7 @@ runs: cd core npm ci cd ../extensions/vscode + npm ci npm run e2e:ci:download else cd core @@ -131,4 +132,4 @@ runs: uses: actions/upload-artifact@v4 with: name: e2e-logs-${{ steps.sanitize_filename.outputs.sanitized_test_file || 'unknown' }}-${{ inputs.command == 'e2e:ci:run-yaml' && 'yaml' || 'json' }} - path: extensions/vscode/e2e.log \ No newline at end of file + path: extensions/vscode/e2e.log