Skip to content

chore: new version

chore: new version #13

name: Build and Deploy to GitHub Pages πŸš€
on:
push:
branches:
- "master"
pull_request:
branches: [master]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🚚
uses: actions/checkout@v4
- name: Pnpm setup πŸ“¦
uses: pnpm/action-setup@v3
with:
version: 9
- name: Node.js setup πŸ“¦
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies πŸ“¦
run: pnpm i
- name: Check πŸ“‹
run: pnpm lint
- name: Build πŸ”¨
run: pnpm build
- name: Build web πŸŒπŸ”¨
run: pnpm build:web
- name: Setup Pages πŸ“¦
uses: actions/configure-pages@v5
- name: Upload artifact πŸš€
uses: actions/upload-pages-artifact@v3
with:
path: './dist'
- name: Deploy to GitHub Pages πŸš€
id: deployment
uses: actions/deploy-pages@v4