Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
40 prioritized NestJS best practices across architecture, DI, security, performance, testing, and microservices.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
.github/workflows/deploy.yml
1name: Deploy to GitHub Pages23on:4push:5branches: [docs]6paths:7- 'website/**'8workflow_dispatch:910permissions:11contents: read12pages: write13id-token: write1415concurrency:16group: pages17cancel-in-progress: false1819jobs:20build:21runs-on: ubuntu-latest22steps:23- name: Checkout24uses: actions/checkout@v42526- name: Setup Node27uses: actions/setup-node@v428with:29node-version: 2030cache: npm31cache-dependency-path: website/package-lock.json3233- name: Setup Pages34uses: actions/configure-pages@v43536- name: Install dependencies37run: npm ci38working-directory: website3940- name: Build41run: npm run build42working-directory: website4344- name: Copy index.html to 404.html for SPA routing45run: cp website/dist/index.html website/dist/404.html4647- name: Upload artifact48uses: actions/upload-pages-artifact@v349with:50path: website/dist5152deploy:53environment:54name: github-pages55url: ${{ steps.deployment.outputs.page_url }}56runs-on: ubuntu-latest57needs: build58steps:59- name: Deploy to GitHub Pages60id: deployment61uses: actions/deploy-pages@v462