2023-11-01 16:24:51 +01:00
|
|
|
name: Website
|
2022-07-16 11:59:20 +02:00
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
2023-02-03 19:55:15 +01:00
|
|
|
types: [opened, synchronize, reopened]
|
2023-11-01 16:24:51 +01:00
|
|
|
merge_group:
|
|
|
|
types: [checks_requested]
|
2023-02-03 19:55:15 +01:00
|
|
|
push:
|
|
|
|
branches: [main]
|
2022-07-16 11:59:20 +02:00
|
|
|
|
|
|
|
jobs:
|
2023-11-01 16:24:51 +01:00
|
|
|
build:
|
|
|
|
name: Build
|
2022-07-16 11:59:20 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-11-01 16:30:20 +01:00
|
|
|
- uses: actions/checkout@v4
|
2023-02-03 20:00:55 +01:00
|
|
|
|
2024-10-30 00:03:34 +01:00
|
|
|
- uses: actions/setup-node@v4.1.0
|
2022-07-16 11:59:20 +02:00
|
|
|
with:
|
2023-11-02 01:46:56 +01:00
|
|
|
node-version: 18.x
|
2022-07-16 11:59:20 +02:00
|
|
|
cache: npm
|
|
|
|
|
|
|
|
- name: Install dependencies
|
2023-02-03 20:00:55 +01:00
|
|
|
run: npm ci
|
|
|
|
|
2022-07-16 11:59:20 +02:00
|
|
|
- name: Test build website
|
2022-11-10 14:09:51 +01:00
|
|
|
run: npm run build
|