Fix vercel actions
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
|||||||
- name: "Enable Corepack"
|
- name: "Enable Corepack"
|
||||||
run: corepack enable
|
run: corepack enable
|
||||||
- name: "Install Yarn"
|
- name: "Install Yarn"
|
||||||
run: corepack prepare yarn@4.9.2 --activate
|
run: corepack prepare yarn@latest --activate
|
||||||
|
|
||||||
# YARN
|
# YARN
|
||||||
- name: "Install Dependencies"
|
- name: "Install Dependencies"
|
||||||
|
|||||||
13
.github/workflows/vercel-preview.yaml
vendored
13
.github/workflows/vercel-preview.yaml
vendored
@@ -13,6 +13,7 @@ jobs:
|
|||||||
Deploy-Preview:
|
Deploy-Preview:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
|
# Setup environment
|
||||||
- name: "Base requirements"
|
- name: "Base requirements"
|
||||||
run: |
|
run: |
|
||||||
# packages
|
# packages
|
||||||
@@ -20,6 +21,18 @@ jobs:
|
|||||||
# ansible collections
|
# ansible collections
|
||||||
ansible-galaxy collection install community.general --force
|
ansible-galaxy collection install community.general --force
|
||||||
ansible-galaxy collection install ansible.posix --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
|
- uses: actions/checkout@v2
|
||||||
- name: "Install Vercel CLI"
|
- name: "Install Vercel CLI"
|
||||||
run: npm install --global vercel@latest
|
run: npm install --global vercel@latest
|
||||||
|
|||||||
13
.github/workflows/vercel-production.yaml
vendored
13
.github/workflows/vercel-production.yaml
vendored
@@ -10,7 +10,9 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
Deploy-Production:
|
Deploy-Production:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# Setup environment
|
||||||
- name: "Base requirements"
|
- name: "Base requirements"
|
||||||
run: |
|
run: |
|
||||||
# packages
|
# packages
|
||||||
@@ -18,7 +20,18 @@ jobs:
|
|||||||
# ansible collections
|
# ansible collections
|
||||||
ansible-galaxy collection install community.general --force
|
ansible-galaxy collection install community.general --force
|
||||||
ansible-galaxy collection install ansible.posix --force
|
ansible-galaxy collection install ansible.posix --force
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- 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"
|
- name: "Install Vercel CLI"
|
||||||
run: npm install --global vercel@latest
|
run: npm install --global vercel@latest
|
||||||
- name: "Pull Vercel Environment Information"
|
- name: "Pull Vercel Environment Information"
|
||||||
|
|||||||
Reference in New Issue
Block a user