Bump express from 4.18.2 to 4.19.2 #13
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: π Minify production CSS & HTML files | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build_css: | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Job triggered by a ${{ github.event_name }}. | |
run: echo "π Job triggered by a ${{ github.event_name }}." | |
- name: π Checking out ${{ github.ref }}... | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
- name: ποΈ Remove sourcemapped CSS. | |
run: rm public/css -r | |
- name: πͺ make a new production CSS directory | |
run: mkdir public/css | |
- name: ποΈ compile production CSS from .scss files | |
uses: gha-utilities/[email protected] | |
with: | |
source: | | |
scss/start.scss | |
scss/cameo.scss | |
scss/guillotine/code.scss | |
scss/guillotine/site.scss | |
scss/invalid.scss | |
scss/pretend.scss | |
scss/sisyphus.scss | |
scss/wrongest.scss | |
scss/stats.scss | |
destination: | | |
public/css/start.css | |
public/css/cameo.css | |
public/css/guillotine.code.css | |
public/css/guillotine.css | |
public/css/invalid.css | |
public/css/pretend.css | |
public/css/sisyphus.css | |
public/css/wrongest.css | |
public/css/stats.css | |
- name: π€ minify HTML | |
uses: docker://devatherock/minify-js:3.0.0 | |
with: | |
add_suffix: false # Optional | |
inclusions: |- # Optional | |
./index.html | |
./html/*.html | |
- name: ποΈ commit changes to ${{ github.ref }} | |
uses: elstudio/actions-js-build/commit@v4 | |
with: | |
commitMessage: generate minified css | |
- name: π« This job's status is ${{ job.status }}. | |
run: echo "π« This job's status is ${{ job.status }}." |