build #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- "**" | |
tags: | |
- "**" | |
schedule: | |
# Minute (0-59), Hour (0-23), Day of the month (1-31), Month of the Year (1-12), Day of the week (0-6, 0 = Sunday) | |
- cron: "0 6 * * 1" | |
workflow_dispatch: | |
jobs: | |
automated-tests: | |
runs-on: ubuntu-20.04 | |
name: Run automated tests | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Ruby & gems | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3.3 | |
bundler-cache: true | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.3.0 | |
- name: Install npm packages | |
run: | | |
npm ci | |
- name: Check site errors | |
env: | |
JEKYLL_ENV: production | |
run: | | |
bundle exec jekyll doctor | |
- name: Build site | |
env: | |
JEKYLL_ENV: production | |
run: | | |
bundle exec jekyll build |