mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
ci: remove install build dependencies step on linux (#257050)
This commit is contained in:
17
.github/workflows/pr-linux-test.yml
vendored
17
.github/workflows/pr-linux-test.yml
vendored
@@ -64,23 +64,6 @@ jobs:
|
||||
if: steps.cache-node-modules.outputs.cache-hit == 'true'
|
||||
run: tar -xzf .build/node_modules_cache/cache.tgz
|
||||
|
||||
- name: Install build dependencies
|
||||
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
||||
working-directory: build
|
||||
run: |
|
||||
set -e
|
||||
|
||||
for i in {1..5}; do # try 5 times
|
||||
npm ci && break
|
||||
if [ $i -eq 5 ]; then
|
||||
echo "Npm install failed too many times" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "Npm install failed $i, trying again..."
|
||||
done
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Install dependencies
|
||||
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user