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:
|
2022-11-10 14:09:51 +01:00
|
|
|
- uses: actions/checkout@v3
|
2023-02-03 20:00:55 +01:00
|
|
|
|
2023-11-01 16:30:19 +01:00
|
|
|
- uses: actions/setup-node@v4.0.0
|
2022-07-16 11:59:20 +02:00
|
|
|
with:
|
|
|
|
node-version: 16.x
|
|
|
|
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
|