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 +