Skip to content

Commit ecb2613

Browse files
committed
fix: implement the right package manager in actions
1 parent b003703 commit ecb2613

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

.github/workflows/prs.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,19 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
- name: "Setup node"
15+
uses: actions/setup-node@v6
1416
with:
15-
fetch-depth: 0
16-
- name: "Setup yarn"
17-
uses: actions/setup-node@v4
17+
node-version: "24"
18+
- name: "Setup pnpm"
19+
uses: pnpm/action-setup@v4
1820
with:
19-
node-version: "22"
20-
cache: "yarn"
21+
version: "10"
2122
- name: Install dependencies
22-
run: yarn install --frozen-lockfile
23+
run: pnpm install --frozen-lockfile
2324
- name: Biome check
24-
run: yarn lint
25+
run: pnpm lint
2526
- name: Generate Next types
26-
run: yarn next typegen
27+
run: pnpm next typegen
2728
- name: Typescript check
28-
run: yarn type-check
29+
run: pnpm type-check

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
yarn lint
2-
yarn type-check
1+
pnpm lint
2+
pnpm type-check

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"db:migrate": "drizzle-kit migrate"
1515
},
1616
"engines": {
17-
"node": "22"
17+
"node": "24",
18+
"packageManager": "pnpm"
1819
},
1920
"dependencies": {
2021
"@formatjs/intl-localematcher": "^0.7.3",

0 commit comments

Comments
 (0)