Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 11s
Build & Deploy / 🧪 QA (push) Failing after 32s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
name: CI - Lint, Typecheck & Test
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: deploy-pipeline
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
quality-assurance:
|
|
runs-on: docker
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v3
|
|
with:
|
|
version: 10
|
|
run_install: false
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
|
|
- name: 🔐 Configure Private Registry
|
|
run: |
|
|
echo "@mintel:registry=https://git.infra.mintel.me/api/packages/mmintel/npm" > .npmrc
|
|
echo "//git.infra.mintel.me/api/packages/mmintel/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --no-frozen-lockfile
|
|
env:
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
|
|
- name: 🧪 QA Checks
|
|
env:
|
|
TURBO_TELEMETRY_DISABLED: "1"
|
|
run: npm run lint --workspace=apps/website
|
|
|
|
- name: 🏗️ Build
|
|
run: pnpm build
|
|
|
|
# - name: ♿ Accessibility Check
|
|
# run: npx start-server-and-test start http://localhost:3000 "npm run check:a11y"
|
|
|
|
# - name: ♿ WCAG Sitemap Audit
|
|
# run: npx start-server-and-test start http://localhost:3000 "npm run check:wcag"
|
|
# monitor trigger
|