www/.forgejo/workflows/build.yaml

22 Zeilen
422 B
YAML

name: Build website
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: docker
container:
image: registry.access.redhat.com/ubi9/nodejs-20:9.5-1732617349
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Build site
run: npm run build