From e47322057d9cccb8ef8f20472b16a3e3ed6ce79e Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Tue, 14 Jan 2025 09:52:17 +0100 Subject: [PATCH] Run `astro check` in CI --- .github/workflows/check.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..ddba732 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,25 @@ +name: Check + +on: + push: + branches: [main] + pull_request: + +permissions: + contents: read + +jobs: + check: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install dependencies + uses: pnpm/action-setup@v4 + with: + run_install: true + + - name: Run astro check + run: pnpm astro check +