Update theme #1
Workflow file for this run
This file contains 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: Generate Critical CSS | ||
# Run on pull requests to main | ||
on: | ||
pull_request: | ||
branches: | ||
- 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' |