Skip to content

Merge pull request #57 from joshdales/dependabot/npm_and_yarn/website… #124

Merge pull request #57 from joshdales/dependabot/npm_and_yarn/website…

Merge pull request #57 from joshdales/dependabot/npm_and_yarn/website… #124

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 pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build CSS
run: pnpm build
- name: Check 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