From 8b0619e0b599735a17b1865bd04fe3318b455aad Mon Sep 17 00:00:00 2001 From: Roy Razon Date: Thu, 7 Dec 2023 15:37:47 +0200 Subject: [PATCH] add site build workflow --- .github/workflows/compile-site.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/compile-site.yaml diff --git a/.github/workflows/compile-site.yaml b/.github/workflows/compile-site.yaml new file mode 100644 index 00000000..d8c756ed --- /dev/null +++ b/.github/workflows/compile-site.yaml @@ -0,0 +1,23 @@ +name: compile-site + +on: + workflow_dispatch: + push: + paths: + - 'site/**' + +jobs: + compile-site: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + cache: yarn + - run: yarn + working-directory: site + - run: yarn typecheck + working-directory: site + - run: yarn build + working-directory: site