Skip to content

Add support for making PR comments #36

Add support for making PR comments

Add support for making PR comments #36

Workflow file for this run

name: "Build Preview Deployment"
on:
pull_request:
types: [opened, synchronize]
jobs:
build-preview:
runs-on: "ubuntu-latest"
name: "Build Preview Site and Upload Build Artifact"
steps:
- name: "checkout"
uses: "actions/checkout@v4"
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: cd web && bun run build
- name: "upload build artifact"
uses: "actions/upload-artifact@v4"
with:
name: "preview-build"
path: |
node_modules
web/.svelte-kit
web/node_modules
include-hidden-files: true