From 57a6c2057afbccaa78cc2837c69410d057f2433f Mon Sep 17 00:00:00 2001 From: Lucid Date: Wed, 3 Dec 2025 22:22:51 -0500 Subject: [PATCH] Fix vercel actions --- .github/workflows/main.yml | 2 +- .github/workflows/vercel-preview.yaml | 13 +++++++++++++ .github/workflows/vercel-production.yaml | 13 +++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 399a861..4a4984f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,7 +36,7 @@ jobs: - name: "Enable Corepack" run: corepack enable - name: "Install Yarn" - run: corepack prepare yarn@4.9.2 --activate + run: corepack prepare yarn@latest --activate # YARN - name: "Install Dependencies" diff --git a/.github/workflows/vercel-preview.yaml b/.github/workflows/vercel-preview.yaml index d35847b..da6226c 100644 --- a/.github/workflows/vercel-preview.yaml +++ b/.github/workflows/vercel-preview.yaml @@ -13,6 +13,7 @@ jobs: Deploy-Preview: runs-on: ubuntu-24.04 steps: + # Setup environment - name: "Base requirements" run: | # packages @@ -20,6 +21,18 @@ jobs: # ansible collections ansible-galaxy collection install community.general --force ansible-galaxy collection install ansible.posix --force + + - uses: actions/checkout@v2 + + # Corepack + - name: Install Corepack + run: npm install -g corepack + - name: "Enable Corepack" + run: corepack enable + - name: "Install Yarn" + run: corepack prepare yarn@latest --activate + + # Vercel - uses: actions/checkout@v2 - name: "Install Vercel CLI" run: npm install --global vercel@latest diff --git a/.github/workflows/vercel-production.yaml b/.github/workflows/vercel-production.yaml index 88fb3bb..d7801a7 100644 --- a/.github/workflows/vercel-production.yaml +++ b/.github/workflows/vercel-production.yaml @@ -10,7 +10,9 @@ on: jobs: Deploy-Production: runs-on: ubuntu-24.04 + steps: + # Setup environment - name: "Base requirements" run: | # packages @@ -18,7 +20,18 @@ jobs: # ansible collections ansible-galaxy collection install community.general --force ansible-galaxy collection install ansible.posix --force + - uses: actions/checkout@v2 + + # Corepack + - name: Install Corepack + run: npm install -g corepack + - name: "Enable Corepack" + run: corepack enable + - name: "Install Yarn" + run: corepack prepare yarn@latest --activate + + # Vercel - name: "Install Vercel CLI" run: npm install --global vercel@latest - name: "Pull Vercel Environment Information"