Skip to content

Commit

Permalink
Add test build (#123)
Browse files Browse the repository at this point in the history
This does a test on all pull requests, to make sure that the site actually builds.
  • Loading branch information
frankieroberto authored May 19, 2024
1 parent 96c3d8b commit 4deac00
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: tests

on: pull_request

jobs:
test_build:
name: Test build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build with Eleventy
run: npm run-script build

0 comments on commit 4deac00

Please sign in to comment.