Skip to content

Commit be25570

Browse files
committed
move to pnpm
1 parent c29292b commit be25570

3 files changed

Lines changed: 6258 additions & 3 deletions

File tree

.github/workflows/firebase-deploy.yml

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

20+
- name: Setup Node.js
21+
uses: actions/setup-node@v2
22+
with:
23+
node-version: '23.10'
24+
cache: 'pnpm'
25+
cache-dependency-path: |
26+
'pnpm-lock.yaml'
27+
'functions/pnpm-lock.yaml'
28+
2029
- name: Install pnpm
2130
run: npm install -g pnpm@~10.12
2231

@@ -38,7 +47,7 @@ jobs:
3847
firebase deploy -f --only hosting --project things-to-complete
3948
4049
- name: Install Functions dependencies
41-
run: npm install
50+
run: pnpm install
4251
working-directory: ./functions
4352

4453
- name: Deploy functions

firebase.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"*.local"
2626
],
2727
"predeploy": [
28-
"npm --prefix \"$RESOURCE_DIR\" run lint",
29-
"npm --prefix \"$RESOURCE_DIR\" run build"
28+
"pnpm --prefix \"$RESOURCE_DIR\" run lint",
29+
"pnpm --prefix \"$RESOURCE_DIR\" run build"
3030
]
3131
}
3232
]

0 commit comments

Comments
 (0)