Skip to content

Overhaul the message; part 1 #143

Overhaul the message; part 1

Overhaul the message; part 1 #143

Workflow file for this run

name: 'Build the site without deploying'
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '14'
cache: ${{ !env.ACT && 'npm' || '' }}
- name: Install npm packages
run: npm install
- name: Build with npm
run: npm build
- name: Update apt repos
run: sudo apt-get update
- name: Install imagemagick dependencies
run: sudo apt-get -y install imagemagick inkscape libmagickcore-dev libmagickwand-dev build-essential potrace
- name: Configure ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true
- name: Install bundle command
run: gem install bundler
- name: Install ruby dependencies
run: bundle install
- name: Build the site via Jekyll
run: bundle exec jekyll build --trace
env:
JEKYLL_ENV: production
- name: Run npm ci
run: npm ci
- name: Run gulp
run: gulp
- name: Copy the CNAME and other build additions to the site
run: cp ./BuildAdditions/* ./_site/