Skip to content

Remove the default branch check because it doesn't seem to work #186

Remove the default branch check because it doesn't seem to work

Remove the default branch check because it doesn't seem to work #186

Workflow file for this run

name: Build Check
on:
push
jobs:
build-css:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
~/.deno
~/.cache/deno
key: ${{ hashFiles('deno.lock') }}
- name: Install Deps
run: deno install
- name: Build CSS
run: deno task build
- name: Check if CSS is up to date
run: |
if ! git diff --quiet index.css; then
echo "The index.css has changes after running the build command. Please commit those changes."
exit 1
fi