Skip to content

Updated versions and text #18

Updated versions and text

Updated versions and text #18

Workflow file for this run

name: Diff builds on Pull Requests
on:
pull_request:
branches:
- main
jobs:
diff:
runs-on: ubuntu-latest
steps:
- name: (main) Checkout repository
uses: actions/checkout@v4
with:
ref: main
- name: (main) Setup Node
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'npm'
- name: (main) Install npm
run: npm ci
- name: (main) Run eleventy
run: npm run build
- name: (main) Move build
run: mv build ${{ runner.temp }}/build_main
- name: (HEAD) Checkout repository
uses: actions/checkout@v4
- name: (HEAD) Setup Node
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'npm'
- name: (HEAD) Install npm
run: npm ci
- name: (HEAD) Run eleventy
run: npm run build
- name: (HEAD) Compare builds
run: diff -r ${{ runner.temp }}/build_main build