From 1f808e1fd548409f2811bf7a76d3ec26ddb3be45 Mon Sep 17 00:00:00 2001 From: Francois Ribemont Date: Wed, 22 Oct 2025 20:04:15 +0100 Subject: [PATCH 1/2] Adds CI workflow on pull requests --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..84e23a0 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +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 + + - name: Upload Build Artifact + uses: actions/upload-pages-artifact@v3 + with: + path: build From 2853dd499666143b16532c9f4d8276a65e19c126 Mon Sep 17 00:00:00 2001 From: Francois Ribemont Date: Wed, 22 Oct 2025 22:03:24 +0100 Subject: [PATCH 2/2] Removes the upload artifact step from the build step --- .github/workflows/ci.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84e23a0..0b8cb77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,8 +22,3 @@ jobs: run: yarn install --frozen-lockfile - name: Build website run: yarn build - - - name: Upload Build Artifact - uses: actions/upload-pages-artifact@v3 - with: - path: build