Bump package version #201
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |