Skip to content

Fix type

Fix type #16

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
branches: ["main"]
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: "pnpm"
- run: pnpm install
- run: pnpm verify
- run: pnpm build
env:
BASE_URL: /tech-radar
- if: github.ref == 'refs/heads/main'
name: Upload page
uses: actions/upload-pages-artifact@v3
with:
path: ./dist
deploy:
if: github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4