All checks were successful
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 7s
QA Debug / 🏗️ Prepare & Install (push) Successful in 35s
🚀 Build & Deploy / 🧪 QA (push) Successful in 1m31s
🚀 Build & Deploy / 🏗️ Build (push) Successful in 11m39s
🚀 Build & Deploy / 🚀 Deploy (push) Successful in 11s
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 3m55s
🚀 Build & Deploy / 🔔 Notify (push) Successful in 2s
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
name: QA Debug
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
prepare:
|
|
name: 🏗️ Prepare & Install
|
|
runs-on: docker
|
|
container:
|
|
image: catthehacker/ubuntu:act-latest
|
|
steps:
|
|
- name: 🧹 Clean Runner Infrastructure
|
|
run: |
|
|
docker builder prune -f --filter "until=24h" || true
|
|
docker image prune -f --filter "until=24h" || true
|
|
docker system prune -f --volumes --filter "until=24h" || true
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v3
|
|
with:
|
|
version: 10
|
|
- name: 🔐 Registry Auth
|
|
run: |
|
|
REGISTRY="${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}"
|
|
echo "@mintel:registry=https://$REGISTRY" > .npmrc
|
|
echo "//$REGISTRY/:_authToken=${{ secrets.REGISTRY_PASS || secrets.NPM_TOKEN }}" >> .npmrc
|
|
- name: 🧹 Wipe Workspace
|
|
run: |
|
|
rm -rf .next .turbo node_modules || true
|
|
pnpm store prune || true
|
|
- name: Install dependencies
|
|
run: |
|
|
pnpm install --frozen-lockfile
|