Skip to content

Commit 083a9de

Browse files
committed
🐛 Fix build errors (#1368)
1 parent 30ba95f commit 083a9de

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,15 @@ jobs:
9999
run: pnpm vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
100100

101101
- name: Build Project Artifacts
102-
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
102+
run: pnpm vercel build --token=${{ secrets.VERCEL_TOKEN }}
103103

104104
- name: Deploy Project Artifacts to Vercel
105105
id: deploy
106-
run: echo "url=$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }})" >> $GITHUB_OUTPUT
106+
run: echo "url=$(pnpm vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }})" >> $GITHUB_OUTPUT
107107

108108
- name: Assign staging domain to deployment (if staging branch)
109109
if: ${{ github.ref != 'refs/heads/main' }}
110-
run: vercel alias set ${{ steps.deploy.outputs.url }} ${{ secrets.STAGING_DOMAIN }} --scope=${{ secrets.VERCEL_SCOPE }} --token=${{ secrets.VERCEL_TOKEN }}
110+
run: pnpm vercel alias set ${{ steps.deploy.outputs.url }} ${{ secrets.STAGING_DOMAIN }} --scope=${{ secrets.VERCEL_SCOPE }} --token=${{ secrets.VERCEL_TOKEN }}
111111

112112
production:
113113
if: ${{ github.ref == 'refs/heads/main' }}
@@ -142,10 +142,10 @@ jobs:
142142
DATABASE_URL: ${{ secrets.PRODUCTION_DATABASE_URL }}
143143

144144
- name: Pull Vercel Environment Information
145-
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
145+
run: pnpm vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
146146

147147
- name: Build Project Artifacts
148-
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
148+
run: pnpm vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
149149

150150
- name: Deploy Project Artifacts to Vercel
151-
run: vercel deploy --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
151+
run: pnpm vercel deploy --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }}

0 commit comments

Comments
 (0)