Skip to content

feat(docs): complete documentation system with comprehensive standard… #5

feat(docs): complete documentation system with comprehensive standard…

feat(docs): complete documentation system with comprehensive standard… #5

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ production ]
pull_request:
branches: [ production ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linting
run: npm run lint
- name: Run type checking
run: npm run type-check
- name: Run tests
run: npm run test:unit
- name: Build application
run: npm run build
env:
NODE_ENV: production
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./out
deploy:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/production'
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4