Skip to content

Commit 4deac00

Browse files
Add test build (#123)
This does a test on all pull requests, to make sure that the site actually builds.
1 parent 96c3d8b commit 4deac00

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/tests.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: tests
2+
3+
on: pull_request
4+
5+
jobs:
6+
test_build:
7+
name: Test build
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
- name: Setup Node.js
13+
uses: actions/setup-node@v4
14+
with:
15+
node-version: 20
16+
cache: 'npm'
17+
- name: Install dependencies
18+
run: npm ci
19+
- name: Build with Eleventy
20+
run: npm run-script build

0 commit comments

Comments
 (0)