www/.forgejo/workflows/build.yaml

21 Zeilen
417 B
YAML

name: Build website
on:
push:
branches:
- !'main'
- '*'
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: docker://registry.access.redhat.com/ubi9/nodejs-20:1-44.1714669803
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Build site
run: npm run build