2024-04-13 15:41:57 +02:00
|
|
|
name: Build website
|
|
|
|
on:
|
|
|
|
push:
|
2024-08-05 22:09:26 +02:00
|
|
|
branches:
|
2024-05-12 00:28:24 +02:00
|
|
|
- main
|
2024-05-11 15:45:42 +02:00
|
|
|
pull_request:
|
|
|
|
types: [opened, synchronize, reopened]
|
|
|
|
|
2024-04-13 15:41:57 +02:00
|
|
|
jobs:
|
|
|
|
build:
|
2024-05-11 21:49:01 +02:00
|
|
|
runs-on: docker
|
|
|
|
container:
|
2024-11-26 13:05:25 +01:00
|
|
|
image: registry.access.redhat.com/ubi9/nodejs-20:9.5-1732617349
|
2024-04-13 15:41:57 +02:00
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Install dependencies
|
2024-08-05 21:50:06 +02:00
|
|
|
run: npm ci
|
2024-04-13 15:41:57 +02:00
|
|
|
|
|
|
|
- name: Build site
|
|
|
|
run: npm run build
|