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