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-07-05 22:51:37 +02:00
|
|
|
image: registry.access.redhat.com/ubi9/nodejs-20:1-48.1720017855
|
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
|