Skip to content

Commit e4b4cf8

Browse files
committed
chore: fix CI
1 parent 0c95d01 commit e4b4cf8

8 files changed

Lines changed: 14 additions & 22212 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,21 @@ jobs:
2626
with:
2727
node-version: '20'
2828

29+
- name: Set up Bun
30+
uses: oven-sh/setup-bun@v2
31+
2932
- name: Authenticate SteamBrew
3033
run: echo "$FIREBASE_CREDENTIALS" | base64 -d > ./apps/www/credentials.json && echo "$BEARER" > ./apps/www/.env
3134
env:
3235
FIREBASE_CREDENTIALS: ${{ secrets.FIREBASE_CREDENTIALS }}
3336
BEARER: ${{ secrets.BEARER }}
3437

35-
- name: Install pnpm
36-
run: npm install -g pnpm && pnpm install && pnpm run build
38+
- name: Install dependencies and build
39+
run: bun install --frozen-lockfile && bun run build
3740

3841
- name: Install Firebase Tools
3942
run: |
40-
npm install -g firebase-tools
43+
npm install -g firebase-tools@13
4144
firebase experiments:enable webframeworks
4245
4346
- name: Deploy Documentation
@@ -46,7 +49,7 @@ jobs:
4649
run: |
4750
cd apps/docs
4851
firebase use --add steam-brew
49-
firebase target:apply hosting steambrew-docs steambrew-docs
52+
firebase target:apply hosting steambrew-docs steambrew-docs
5053
firebase deploy --only hosting --token $FIREBASE_TOKEN --force
5154
5255
- name: Deploy Main Site

apps/docs/firebase.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"hosting": {
33
"target": "steambrew-docs",
44
"public": ".vitepress/dist",
5-
"predeploy": "pnpm run build",
5+
"predeploy": "bun run build",
66
"ignore": [],
77
"cleanUrls": true,
88
"redirects": [

0 commit comments

Comments
 (0)