Skip to content

Commit 2b5c630

Browse files
removed -y(yarn) in the script
1 parent 5188f39 commit 2b5c630

File tree

2 files changed

+1
-37
lines changed

2 files changed

+1
-37
lines changed

.github/workflows/CI.yaml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -31,42 +31,6 @@ jobs:
3131
with:
3232
node-version: 20
3333

34-
- name: Remove Yarn on Windows
35-
if: runner.os == 'Windows'
36-
shell: powershell
37-
run: |
38-
$paths = @(
39-
"$env:USERPROFILE\.yarn\bin\yarn.cmd",
40-
"$env:USERPROFILE\.yarn\bin\yarnpkg.cmd",
41-
"C:\Program Files (x86)\Yarn\bin\yarn.cmd",
42-
"C:\Program Files (x86)\Yarn\bin\yarnpkg.cmd",
43-
"C:\Program Files\Yarn\bin\yarn.cmd",
44-
"C:\Program Files\Yarn\bin\yarnpkg.cmd"
45-
)
46-
foreach ($path in $paths) {
47-
if (Test-Path $path) {
48-
Remove-Item $path -Force
49-
}
50-
}
51-
if (Get-Command yarn -ErrorAction SilentlyContinue) {
52-
yarn --version
53-
} else {
54-
Write-Output "✅ Yarn not found"
55-
}
56-
57-
- name: Remove Yarn on Linux/macOS
58-
if: runner.os != 'Windows'
59-
run: |
60-
rm -f /usr/local/bin/yarn /usr/local/bin/yarnpkg
61-
rm -f /Users/runner/.yarn/bin/yarn /Users/runner/.yarn/bin/yarnpkg
62-
echo "🧹 Yarn removed"
63-
64-
- name: Check for yarn
65-
run: |
66-
which yarn || echo "✅ Yarn not found"
67-
yarn --version || echo "✅ Yarn not used"
68-
69-
7034
# Run install dependencies
7135
- name: Install dependencies
7236
run: npm ci

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@
255255
"format": "prettier --write .",
256256
"lint": "eslint -c .eslintrc.js --ext .ts src test",
257257
"test": "npm run test-compile && sh scripts/e2e.sh",
258-
"ui-test": "npm run test-compile && extest setup-and-run -y out/test/ui-test/allTestsSuite.js -c 1.76.2",
258+
"ui-test": "npm run test-compile && extest setup-and-run out/test/ui-test/allTestsSuite.js -c 1.76.2",
259259
"vscode:prepublish": "webpack --mode production",
260260
"watch": "webpack --mode development --watch --info-verbosity verbose",
261261
"test-compile": "npm run clean && tsc -p ./ && webpack --mode development",

0 commit comments

Comments
 (0)