Improve pipeline (#17)

* Adds CI workflow on pull requests

* Removes the upload artifact step from the build step
This commit is contained in:
Paco
2025-10-23 08:12:59 +01:00
committed by GitHub
parent bc0b5c054e
commit 198eb58eb2

24
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: CI
on:
pull_request:
branches:
- main
jobs:
build:
name: Build Docusaurus
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build website
run: yarn build