2024-04-13 15:41:57 +02:00
|
|
|
name: Build website
|
|
|
|
on:
|
|
|
|
push:
|
2024-05-12 00:28:24 +02:00
|
|
|
branches-ignore:
|
|
|
|
- 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-06-13 11:51:23 +02:00
|
|
|
image: registry.access.redhat.com/ubi9/nodejs-20:1-48
|
2024-04-13 15:41:57 +02:00
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: npm install
|
|
|
|
|
|
|
|
- name: Build site
|
|
|
|
run: npm run build
|