File tree Expand file tree Collapse file tree 2 files changed +8
-18
lines changed
Expand file tree Collapse file tree 2 files changed +8
-18
lines changed Original file line number Diff line number Diff line change @@ -19,24 +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 : 8
2622 - name : Use Node.js ${{ matrix.node-version }}
2723 uses : actions/setup-node@v4
2824 with :
2925 node-version : ${{ matrix.node-version }}
30- cache : ' pnpm'
31- - run : pnpm install && pnpm build
32- - run : pnpm release
26+ - run : yarn install && yarn build
27+ - run : yarn release
3328 - name : Authenticate with Google Cloud
3429 uses : google-github-actions/auth@v2
3530 with :
3631 credentials_json : ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
3732
38- - run : cd functions && pnpm install && pnpm deploy:config:prod
39- - run : pnpm deploy:prod
33+ - run : cd functions && yarn install && yarn deploy:config:prod
34+ - run : yarn deploy:prod
4035 - name : Upload Release Asset
4136 id : upload-release-asset
4237 uses : shogo82148/actions-upload-release-asset@v1
Original file line number Diff line number Diff line change @@ -15,21 +15,16 @@ jobs:
1515
1616 steps :
1717 - uses : actions/checkout@v4
18- - name : Setup pnpm
19- uses : pnpm/action-setup@v4
20- with :
21- version : 8
2218 - name : Use Node.js ${{ matrix.node-version }}
2319 uses : actions/setup-node@v4
2420 with :
2521 node-version : ${{ matrix.node-version }}
26- cache : ' pnpm'
27- - run : pnpm install && pnpm build
28- - run : pnpm release
29- - run : cd functions && pnpm install && pnpm deploy:config:staging --token ${{ secrets.FIREBASE_TOKEN }}
22+ - run : yarn install && yarn build
23+ - run : yarn release
24+ - run : cd functions && yarn install && yarn deploy:config:staging --token ${{ secrets.FIREBASE_TOKEN }}
3025 - name : Deploy to staging
3126 if : github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' # This conditional will skip the step for Dependabot PRs
32- run : pnpm deploy:staging --token ${{ secrets.FIREBASE_TOKEN }}
27+ run : yarn deploy:staging --token ${{ secrets.FIREBASE_TOKEN }}
3328 - name : Upload artifacts # Find artifacts under actions/jobs
3429 uses : actions/upload-artifact@v4
3530 with :
You can’t perform that action at this time.
0 commit comments