Skip to content

refactor(deps): update dependencies (non-major) #1160

refactor(deps): update dependencies (non-major)

refactor(deps): update dependencies (non-major) #1160

name: Build and Deploy
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: lts/*
- run: pnpm i
- run: pnpm build
env:
CI: true
- name: Upload Artifacts
uses: actions/upload-pages-artifact@v3
with:
path: public
deploy:
needs: [build]
if: github.ref == 'refs/heads/main'
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4