Skip to content

Commit 8b53ff5

Browse files
Saadnajmiclaude
andcommitted
ci: fix Windows Yarn Switch shell, TS1540 skipLibCheck, and remove --immutable
- Use bash shell for Yarn Switch install on Windows (pwsh can't run bash scripts) - Add skipLibCheck to apps/E2E/tsconfig.json to suppress TS1540 in @wdio/globals - Remove --immutable from check-changesets yarn install (lockfile may differ between local and CI builds of rc.15) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 143a7c3 commit 8b53ff5

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/actions/setup-toolchain/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ runs:
3434
3535
- name: Install Yarn Switch (Windows)
3636
if: runner.os == 'Windows'
37-
shell: pwsh
37+
shell: bash
3838
run: |
3939
curl -s https://repo.yarnpkg.com/install | bash
40-
echo "$HOME/.yarn/switch/bin" >> $env:GITHUB_PATH
40+
echo "$HOME/.yarn/switch/bin" >> $GITHUB_PATH

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ jobs:
286286
node-version: '22'
287287

288288
- name: Install dependencies
289-
run: yarn install --immutable
289+
run: yarn
290290

291291
- name: Validate changesets
292292
run: yarn change:check

apps/E2E/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"module": "Node16",
55
"moduleResolution": "Node16",
66
"outDir": "lib",
7+
"skipLibCheck": true,
78
"types": ["@types/jasmine", "@wdio/globals/types", "@wdio/jasmine-framework", "node"]
89
},
910
"include": ["src"]

0 commit comments

Comments
 (0)