|
|
|
|
@@ -49,18 +49,14 @@ jobs:
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
- name: Set up Environment
|
|
|
|
|
uses: pnpm/action-setup@v4
|
|
|
|
|
with:
|
|
|
|
|
version: 10
|
|
|
|
|
run_install: |
|
|
|
|
|
- recursive: true
|
|
|
|
|
args: [--frozen-lockfile, --prefer-offline]
|
|
|
|
|
- name: Set up Node.js
|
|
|
|
|
uses: actions/setup-node@v4
|
|
|
|
|
with:
|
|
|
|
|
node_version: 20
|
|
|
|
|
cache: 'pnpm'
|
|
|
|
|
- name: Enable pnpm
|
|
|
|
|
run: corepack enable && corepack prepare pnpm@10.2.0 --activate
|
|
|
|
|
- name: Install dependencies
|
|
|
|
|
run: pnpm install --frozen-lockfile --prefer-offline --ignore-scripts --no-color
|
|
|
|
|
- name: Lint
|
|
|
|
|
run: pnpm lint
|
|
|
|
|
|
|
|
|
|
@@ -76,18 +72,14 @@ jobs:
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
- name: Set up Environment
|
|
|
|
|
uses: pnpm/action-setup@v4
|
|
|
|
|
with:
|
|
|
|
|
version: 10
|
|
|
|
|
run_install: |
|
|
|
|
|
- recursive: true
|
|
|
|
|
args: [--frozen-lockfile, --prefer-offline]
|
|
|
|
|
- name: Set up Node.js
|
|
|
|
|
uses: actions/setup-node@v4
|
|
|
|
|
with:
|
|
|
|
|
node_version: 20
|
|
|
|
|
cache: 'pnpm'
|
|
|
|
|
- name: Enable pnpm
|
|
|
|
|
run: corepack enable && corepack prepare pnpm@10.2.0 --activate
|
|
|
|
|
- name: Install dependencies
|
|
|
|
|
run: pnpm install --frozen-lockfile --prefer-offline --ignore-scripts --no-color
|
|
|
|
|
- name: Test
|
|
|
|
|
run: pnpm test
|
|
|
|
|
|
|
|
|
|
@@ -103,18 +95,14 @@ jobs:
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
- name: Set up Environment
|
|
|
|
|
uses: pnpm/action-setup@v4
|
|
|
|
|
with:
|
|
|
|
|
version: 10
|
|
|
|
|
run_install: |
|
|
|
|
|
- recursive: true
|
|
|
|
|
args: [--frozen-lockfile, --prefer-offline]
|
|
|
|
|
- name: Set up Node.js
|
|
|
|
|
uses: actions/setup-node@v4
|
|
|
|
|
with:
|
|
|
|
|
node_version: 20
|
|
|
|
|
cache: 'pnpm'
|
|
|
|
|
- name: Enable pnpm
|
|
|
|
|
run: corepack enable && corepack prepare pnpm@10.2.0 --activate
|
|
|
|
|
- name: Install dependencies
|
|
|
|
|
run: pnpm install --frozen-lockfile --prefer-offline --ignore-scripts --no-color
|
|
|
|
|
- name: Build
|
|
|
|
|
run: pnpm build
|
|
|
|
|
|
|
|
|
|
@@ -133,24 +121,16 @@ jobs:
|
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
with:
|
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
|
|
- name: Set up Environment
|
|
|
|
|
uses: pnpm/action-setup@v4
|
|
|
|
|
with:
|
|
|
|
|
version: 10
|
|
|
|
|
run_install: |
|
|
|
|
|
- recursive: true
|
|
|
|
|
args: [--frozen-lockfile, --prefer-offline]
|
|
|
|
|
|
|
|
|
|
- name: Set up Node.js
|
|
|
|
|
uses: actions/setup-node@v4
|
|
|
|
|
with:
|
|
|
|
|
node_version: 20
|
|
|
|
|
cache: 'pnpm'
|
|
|
|
|
|
|
|
|
|
- name: Enable pnpm
|
|
|
|
|
run: corepack enable && corepack prepare pnpm@10.2.0 --activate
|
|
|
|
|
- name: Install dependencies
|
|
|
|
|
run: pnpm install --frozen-lockfile --prefer-offline --ignore-scripts --no-color
|
|
|
|
|
- name: 🏷️ Sync Versions (if Tagged)
|
|
|
|
|
run: pnpm sync-versions
|
|
|
|
|
|
|
|
|
|
- name: 🏷️ Release Packages (Tag-Driven)
|
|
|
|
|
run: |
|
|
|
|
|
echo "🏷️ Tag detected [${{ github.ref_name }}], performing sync release..."
|
|
|
|
|
|