From 0cdff4f06bcb3cb98e7fc9f56bbcdf9ddd9ccfa3 Mon Sep 17 00:00:00 2001 From: hiento09 <136591877+hiento09@users.noreply.github.com> Date: Mon, 9 Oct 2023 09:23:25 +0700 Subject: [PATCH] Add docusaurus test build pipeline (#302) Co-authored-by: Hien To --- .github/workflows/jan-docs-test.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/jan-docs-test.yml diff --git a/.github/workflows/jan-docs-test.yml b/.github/workflows/jan-docs-test.yml new file mode 100644 index 000000000..e1800424b --- /dev/null +++ b/.github/workflows/jan-docs-test.yml @@ -0,0 +1,29 @@ +name: Jan Docs Test Build + +on: + pull_request: + branches: + - main + paths: + - 'docs/**' + - '.github/workflows/deploy-jan-docs.yml' + - '.github/workflows/jan-docs-test.yml' + +jobs: + deploy: + name: Test Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + cache: 'yarn' + cache-dependency-path: './docs/yarn.lock' + + - name: Install dependencies + run: yarn install + working-directory: docs + - name: Test Build Command + run: yarn build + working-directory: docs \ No newline at end of file