Skip to content

Commit 84849bd

Browse files
committed
ci(beta): test npm downgrade
1 parent 6450f71 commit 84849bd

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/beta.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ jobs:
3333
uses: actions/setup-node@v5
3434
with:
3535
node-version: ${{ matrix.node }}
36-
cache: 'pnpm'
36+
cache: "pnpm"
37+
38+
- name: Downgrade npm (Bugfix for npm version in workspaces)
39+
run: corepack prepare [email protected] --activate
3740

3841
- name: Install dependencies
3942
run: pnpm install
@@ -73,7 +76,7 @@ jobs:
7376
uses: actions/setup-node@v5
7477
with:
7578
node-version: ${{ matrix.node }}
76-
cache: 'pnpm'
79+
cache: "pnpm"
7780

7881
- name: Install dependencies
7982
run: pnpm install
@@ -100,7 +103,7 @@ jobs:
100103
- name: checkout repo
101104
uses: actions/checkout@v5
102105
with:
103-
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
106+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
104107

105108
- name: download vitest code coverage results
106109
uses: actions/download-artifact@v5
@@ -111,5 +114,5 @@ jobs:
111114
- name: SonarCloud scan
112115
uses: SonarSource/sonarcloud-github-action@master
113116
env:
114-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
117+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
115118
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)