chore: add qa-debug workflow
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Has been cancelled
🚀 Build & Deploy / 🧪 QA (push) Has been cancelled
🚀 Build & Deploy / 🏗️ Build (push) Has been cancelled
🚀 Build & Deploy / 🚀 Deploy (push) Has been cancelled
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
🚀 Build & Deploy / 🔔 Notify (push) Has been cancelled
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Has been cancelled
🚀 Build & Deploy / 🧪 QA (push) Has been cancelled
🚀 Build & Deploy / 🏗️ Build (push) Has been cancelled
🚀 Build & Deploy / 🚀 Deploy (push) Has been cancelled
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
🚀 Build & Deploy / 🔔 Notify (push) Has been cancelled
This commit is contained in:
40
.gitea/workflows/qa-debug.yml
Normal file
40
.gitea/workflows/qa-debug.yml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
name: QA Debug
|
||||||
|
|
||||||
|
on:
|
||||||
|
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 || 'git.infra.mintel.me/api/packages/mmintel/npm' }}"
|
||||||
|
echo "@mintel:registry=https://$REGISTRY" > .npmrc
|
||||||
|
TOKEN_REGISTRY=$(echo "$REGISTRY" | sed 's|https://||')
|
||||||
|
echo "//$TOKEN_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
|
||||||
Reference in New Issue
Block a user