From 22c7158794797aec571d0b31048a533525979c0e Mon Sep 17 00:00:00 2001 From: Joe Bowman Date: Wed, 24 Jan 2024 15:36:15 +0000 Subject: [PATCH] install bun (#1089) --- .github/workflows/deployweb.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deployweb.yaml b/.github/workflows/deployweb.yaml index b63b24b53..5f11d4c9a 100644 --- a/.github/workflows/deployweb.yaml +++ b/.github/workflows/deployweb.yaml @@ -5,18 +5,27 @@ env: on: push: tags: - - 'fe/v*' # Push events to every tag not containing / + - "fe/v*" # Push events to every tag not containing / jobs: Deploy-Production: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - name: Install Vercel CLI run: npm install --global vercel@^33.2.0 # Replace with the current major version + + - name: Setup Bun + uses: oven-sh/setup-bun@v1 + with: + bun-version: latest # or specify a version + - name: Pull Vercel Environment Information run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} + - name: Build Project Artifacts run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} + - name: Deploy Project Artifacts to Vercel run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}