Skip to content

Commit be42fdf

Browse files
committed
ci: test build on PRs
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 801d3de commit be42fdf

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test build
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
7+
permissions: {}
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Setup Ruby
16+
uses: ruby/setup-ruby@v1
17+
with:
18+
ruby-version: "3.3"
19+
bundler-cache: true
20+
- name: Build with Jekyll
21+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
22+
env:
23+
JEKYLL_ENV: production
24+
- name: Upload artifact
25+
uses: actions/upload-pages-artifact@v3
26+

0 commit comments

Comments
 (0)