Skip to content

Commit 0a5ebae

Browse files
committed
feat: migrate deploy-prod workflow from yarn to pnpm
1 parent fa54553 commit 0a5ebae

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/deploy-prod.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,19 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v4
22+
- name: Setup pnpm
23+
uses: pnpm/action-setup@v4
24+
with:
25+
version: latest
2226
- name: Use Node.js ${{ matrix.node-version }}
2327
uses: actions/setup-node@v4
2428
with:
2529
node-version: ${{ matrix.node-version }}
26-
- run: yarn install && yarn build
27-
- run: yarn release
28-
- run: cd functions && yarn install && yarn deploy:config:prod --token ${{ secrets.FIREBASE_TOKEN }}
29-
- run: yarn deploy:prod --token ${{ secrets.FIREBASE_TOKEN }}
30+
cache: 'pnpm'
31+
- run: pnpm install && pnpm build
32+
- run: pnpm release
33+
- run: cd functions && pnpm install && pnpm deploy:config:prod --token ${{ secrets.FIREBASE_TOKEN }}
34+
- run: pnpm deploy:prod --token ${{ secrets.FIREBASE_TOKEN }}
3035
- name: Upload Release Asset
3136
id: upload-release-asset
3237
uses: shogo82148/actions-upload-release-asset@v1

0 commit comments

Comments
 (0)