Skip to content

build

build #58

Workflow file for this run

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