name: build on: push: branches: [main] pull_request: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 - name: Install dependencies run: npm ci - name: Build site run: npm run build - name: Upload build artifact uses: actions/upload-artifact@v4 with: name: dist path: dist/ # Deploy step intentionally not wired up yet: this runner spins up # ephemeral job containers (no host bind-mount for the workspace), so # syncing dist/ to /mnt/e/sites/ needs an SSH deploy key added as # a Gitea Actions secret. See repo README for the manual deploy steps # used until that's set up.