We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 944b6aa commit 5612d56Copy full SHA for 5612d56
.github/workflows/minifycss.yml
@@ -3,14 +3,18 @@ on:
3
push:
4
branches:
5
- main
6
+
7
jobs:
8
minify:
9
runs-on: ubuntu-latest
10
steps:
- - uses: actions/checkout@v3
11
- - uses: actions/setup-node@v3
12
- with:
13
- node-version: "20"
14
- - run: npm install -g cssnano
+ - name: check out the repository
+ uses: actions/checkout@v4
15
16
- - run: npx cssnano bolt.css -o bolt.min.css
+ - name: auto minify the files
+ uses: nizarmah/auto-minify@v3
17
+ - name: auto commit the minified files
18
+ uses: stefanzweifel/git-auto-commit-action@v5
19
+ with:
20
+ commit_message: "bot: Add auto minified files"
0 commit comments