Compare commits
5 Commits
37703240db
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 7f3cdecef5 | |||
| 57a6c2057a | |||
| d1f45b0c4f | |||
| d23b6d225a | |||
| 7671e56c3f |
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -17,11 +17,9 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [18.x, 20.x, 22.x]
|
node-version: [20.x, 22.x]
|
||||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: "Base requirements"
|
- name: "Base requirements"
|
||||||
run: |
|
run: |
|
||||||
# packages
|
# packages
|
||||||
@@ -30,13 +28,15 @@ jobs:
|
|||||||
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@v4
|
||||||
|
|
||||||
# Corepack
|
# Corepack
|
||||||
- name: Install Corepack
|
- name: Install Corepack
|
||||||
run: npm install -g corepack
|
run: npm install -g corepack
|
||||||
- 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"
|
||||||
|
|||||||
24
.github/workflows/vercel-preview.yaml
vendored
24
.github/workflows/vercel-preview.yaml
vendored
@@ -4,8 +4,8 @@ env:
|
|||||||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow on push or pull request,
|
# Trigger the workflow on push or pull request,
|
||||||
# push:
|
# push:
|
||||||
# branches: [main, stable]
|
# branches: [main, stable]
|
||||||
pull_request:
|
pull_request:
|
||||||
# These types of PRs
|
# These types of PRs
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
@@ -13,6 +13,26 @@ jobs:
|
|||||||
Deploy-Preview:
|
Deploy-Preview:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
|
# Setup environment
|
||||||
|
- name: "Base requirements"
|
||||||
|
run: |
|
||||||
|
# packages
|
||||||
|
apk update && apk add --no-cache git docker docker-compose nodejs gpg openssh npm ansible
|
||||||
|
# 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
|
- uses: actions/checkout@v2
|
||||||
- name: "Install Vercel CLI"
|
- name: "Install Vercel CLI"
|
||||||
run: npm install --global vercel@latest
|
run: npm install --global vercel@latest
|
||||||
|
|||||||
20
.github/workflows/vercel-production.yaml
vendored
20
.github/workflows/vercel-production.yaml
vendored
@@ -10,8 +10,28 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
Deploy-Production:
|
Deploy-Production:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# Setup environment
|
||||||
|
- name: "Base requirements"
|
||||||
|
run: |
|
||||||
|
# packages
|
||||||
|
apk update && apk add --no-cache git docker docker-compose nodejs gpg openssh npm ansible
|
||||||
|
# ansible collections
|
||||||
|
ansible-galaxy collection install community.general --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