Skip to content

Commit

Permalink
add PR build check ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Nov 6, 2024
1 parent 571346d commit 3cc10f4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/verify-build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3cc10f4

Please sign in to comment.