Skip to content

Update theme

Update theme #1

name: Generate Critical CSS
# Run on pull requests to main
on:
pull_request:
branches:

Check failure on line 5 in .github/workflows/generate-critical-css.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/generate-critical-css.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '22'
- run: npm install
- run: npm run critical-css
- name: Commit changes
uses: EndBug/add-and-commit@v7
with:
message: 'Update critical CSS'
add: 'assets/css/critical.css'