Skip to content

Commit 0830580

Browse files
committed
install pnpm before
1 parent be25570 commit 0830580

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/firebase-deploy.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,15 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v3
1919

20-
- name: Setup Node.js
20+
- name: Setup Node.js for pnpm
21+
uses: actions/setup-node@v2
22+
with:
23+
node-version: '23.10'
24+
25+
- name: Install pnpm
26+
run: npm install -g pnpm@~10.12
27+
28+
- name: Setup Node.js using pnpm
2129
uses: actions/setup-node@v2
2230
with:
2331
node-version: '23.10'
@@ -26,11 +34,8 @@ jobs:
2634
'pnpm-lock.yaml'
2735
'functions/pnpm-lock.yaml'
2836
29-
- name: Install pnpm
30-
run: npm install -g pnpm@~10.12
31-
3237
- name: Install Firebase CLI
33-
run: npm install -g firebase-tools@~14.11
38+
run: npm install -g firebase-tools@~14.11
3439

3540
- name: Install Frontend dependencies
3641
run: pnpm install

0 commit comments

Comments
 (0)