From ba77c4a63bf74b390eba5710d7c776c1836cc1e2 Mon Sep 17 00:00:00 2001 From: mrshmllow Date: Mon, 19 Sep 2022 19:06:24 +1000 Subject: [PATCH] add test workflow --- .github/workflows/test.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..98d8f65 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,34 @@ +name: Lint Code +on: + workflow_dispatch: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout Site + uses: actions/checkout@v2 + with: + repository: crystal-linux/getcryst.al + path: getcryst.al + + - name: Checkout Self + uses: actions/checkout@v3 + with: + path: getcryst.al/_docs + + - name: Setup Node + uses: actions/setup-node@v3 + + - name: Install + working-directory: getcryst.al + run: yarn install --frozen-lockfile + + - name: Test Build + working-directory: getcryst.al + run: yarn build +