From c405c65ce59f8f4bb96430d1e05bd5774e0ae3d4 Mon Sep 17 00:00:00 2001 From: Michael Asiedu Date: Thu, 27 Jun 2024 09:24:40 +0000 Subject: [PATCH] add github actions --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..6cce4096 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: Build + +on: + pull_request: + branches: + - main + - "release/*" + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: "22" + + - name: Install dependencies + run: yarn install + + - name: Build Docusaurus site + run: yarn build