From 11cdbae9cb5419df8161ff9777ac1bc69340f6c1 Mon Sep 17 00:00:00 2001 From: Kevin Frey Date: Wed, 6 Nov 2024 15:15:27 +0100 Subject: [PATCH] Create verfify-build.yml --- .github/workflows/verfify-build.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/verfify-build.yml diff --git a/.github/workflows/verfify-build.yml b/.github/workflows/verfify-build.yml new file mode 100644 index 0000000..653e1c0 --- /dev/null +++ b/.github/workflows/verfify-build.yml @@ -0,0 +1,27 @@ +name: PR Build Check + +on: + pull_request: + branches: + - main + # Allows you to run this workflow manually from the Actions tab on GitHub. + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout your repository using git + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '18' # Specify your Node.js version + + - name: Install dependencies + run: npm install + + - name: Run Astro build check + run: npm run build