ci: fix broken symlinks and lychee args in qa.yml
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 3s
🚀 Build & Deploy / 🧪 QA (push) Successful in 2m38s
🚀 Build & Deploy / 🏗️ Build (push) Successful in 11m38s
🚀 Build & Deploy / 🚀 Deploy (push) Successful in 12s
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 3m33s
🚀 Build & Deploy / 🔔 Notify (push) Successful in 2s
Nightly QA (Inlined) / 🏗️ Prepare & Install (push) Successful in 23s
Nightly QA (Inlined) / 🔍 Static Analysis (push) Failing after 1m3s
Nightly QA (Inlined) / 🧪 Maintenance & Links (push) Failing after 1m5s
Nightly QA (Inlined) / ♿ Accessibility (push) Successful in 2m22s
Nightly QA (Inlined) / 🎭 Lighthouse (push) Failing after 2m24s
Nightly QA (Inlined) / 🔔 Notify (push) Successful in 2s
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 3s
🚀 Build & Deploy / 🧪 QA (push) Successful in 2m38s
🚀 Build & Deploy / 🏗️ Build (push) Successful in 11m38s
🚀 Build & Deploy / 🚀 Deploy (push) Successful in 12s
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 3m33s
🚀 Build & Deploy / 🔔 Notify (push) Successful in 2s
Nightly QA (Inlined) / 🏗️ Prepare & Install (push) Successful in 23s
Nightly QA (Inlined) / 🔍 Static Analysis (push) Failing after 1m3s
Nightly QA (Inlined) / 🧪 Maintenance & Links (push) Failing after 1m5s
Nightly QA (Inlined) / ♿ Accessibility (push) Successful in 2m22s
Nightly QA (Inlined) / 🎭 Lighthouse (push) Failing after 2m24s
Nightly QA (Inlined) / 🔔 Notify (push) Successful in 2s
This commit is contained in:
@@ -36,12 +36,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
rm -rf .next .turbo node_modules || true
|
rm -rf .next .turbo node_modules || true
|
||||||
pnpm install --no-frozen-lockfile --reporter=append-only
|
pnpm install --no-frozen-lockfile --reporter=append-only
|
||||||
- name: 📦 Archive dependencies
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: node_modules
|
|
||||||
path: node_modules
|
|
||||||
retention-days: 1
|
|
||||||
|
|
||||||
static:
|
static:
|
||||||
name: 🔍 Static Analysis
|
name: 🔍 Static Analysis
|
||||||
@@ -60,10 +54,13 @@ jobs:
|
|||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
- name: 📥 Restore dependencies
|
- name: 🔐 Registry Auth
|
||||||
uses: actions/download-artifact@v3
|
run: |
|
||||||
with:
|
REGISTRY="${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}"
|
||||||
name: node_modules
|
echo "@mintel:registry=https://$REGISTRY" > .npmrc
|
||||||
|
echo "//$REGISTRY/:_authToken=${{ secrets.NPM_TOKEN || secrets.GITEA_PAT || secrets.MINTEL_PRIVATE_TOKEN }}" >> .npmrc
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pnpm install --no-frozen-lockfile
|
||||||
- name: 🌐 HTML Validation
|
- name: 🌐 HTML Validation
|
||||||
env:
|
env:
|
||||||
NEXT_PUBLIC_BASE_URL: 'https://testing.mb-grid-solutions.com'
|
NEXT_PUBLIC_BASE_URL: 'https://testing.mb-grid-solutions.com'
|
||||||
@@ -92,10 +89,13 @@ jobs:
|
|||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
- name: 📥 Restore dependencies
|
- name: 🔐 Registry Auth
|
||||||
uses: actions/download-artifact@v3
|
run: |
|
||||||
with:
|
REGISTRY="${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}"
|
||||||
name: node_modules
|
echo "@mintel:registry=https://$REGISTRY" > .npmrc
|
||||||
|
echo "//$REGISTRY/:_authToken=${{ secrets.NPM_TOKEN || secrets.GITEA_PAT || secrets.MINTEL_PRIVATE_TOKEN }}" >> .npmrc
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pnpm install --no-frozen-lockfile
|
||||||
- name: 🔍 Install Chromium
|
- name: 🔍 Install Chromium
|
||||||
run: |
|
run: |
|
||||||
apt-get update && apt-get install -y gnupg wget ca-certificates
|
apt-get update && apt-get install -y gnupg wget ca-certificates
|
||||||
@@ -130,17 +130,20 @@ jobs:
|
|||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
- name: 📥 Restore dependencies
|
- name: 🔐 Registry Auth
|
||||||
uses: actions/download-artifact@v3
|
run: |
|
||||||
with:
|
REGISTRY="${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}"
|
||||||
name: node_modules
|
echo "@mintel:registry=https://$REGISTRY" > .npmrc
|
||||||
|
echo "//$REGISTRY/:_authToken=${{ secrets.NPM_TOKEN || secrets.GITEA_PAT || secrets.MINTEL_PRIVATE_TOKEN }}" >> .npmrc
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pnpm install --no-frozen-lockfile
|
||||||
- name: 📦 Depcheck
|
- name: 📦 Depcheck
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: pnpm dlx depcheck --ignores="*eslint*,*typescript*,*tailwindcss*,*postcss*,*prettier*,*@types/*,*husky*,*lint-staged*,*@next/*,*@lhci/*,*commitlint*,*cspell*,*rimraf*,*@payloadcms/*,*start-server-and-test*,*html-validate*,*critters*,*dotenv*,*turbo*,autoprefixer,pa11y-ci,pino-pretty"
|
run: pnpm dlx depcheck --ignores="*eslint*,*typescript*,*tailwindcss*,*postcss*,*prettier*,*@types/*,*husky*,*lint-staged*,*@next/*,*@lhci/*,*commitlint*,*cspell*,*rimraf*,*@payloadcms/*,*start-server-and-test*,*html-validate*,*critters*,*dotenv*,*turbo*,autoprefixer,pa11y-ci,pino-pretty"
|
||||||
- name: 🔗 Lychee Link Check
|
- name: 🔗 Lychee Link Check
|
||||||
uses: lycheeverse/lychee-action@v2
|
uses: lycheeverse/lychee-action@v2
|
||||||
with:
|
with:
|
||||||
args: --accept 200,204,429 --timeout 15 content/ app/ public/
|
args: --accept 200,204,429 --timeout 15 app/ public/
|
||||||
fail: true
|
fail: true
|
||||||
|
|
||||||
performance:
|
performance:
|
||||||
@@ -160,10 +163,13 @@ jobs:
|
|||||||
uses: pnpm/action-setup@v3
|
uses: pnpm/action-setup@v3
|
||||||
with:
|
with:
|
||||||
version: 10
|
version: 10
|
||||||
- name: 📥 Restore dependencies
|
- name: 🔐 Registry Auth
|
||||||
uses: actions/download-artifact@v3
|
run: |
|
||||||
with:
|
REGISTRY="${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}"
|
||||||
name: node_modules
|
echo "@mintel:registry=https://$REGISTRY" > .npmrc
|
||||||
|
echo "//$REGISTRY/:_authToken=${{ secrets.NPM_TOKEN || secrets.GITEA_PAT || secrets.MINTEL_PRIVATE_TOKEN }}" >> .npmrc
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pnpm install --no-frozen-lockfile
|
||||||
- name: 🔍 Install Chromium
|
- name: 🔍 Install Chromium
|
||||||
run: |
|
run: |
|
||||||
apt-get update && apt-get install -y gnupg wget ca-certificates
|
apt-get update && apt-get install -y gnupg wget ca-certificates
|
||||||
|
|||||||
Reference in New Issue
Block a user