File tree Expand file tree Collapse file tree 2 files changed +1
-37
lines changed
Expand file tree Collapse file tree 2 files changed +1
-37
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments