Bug fixinvg #14
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: Compile Sass | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '21' | |
- name: Install Sass | |
run: npm install -g sass | |
- name: Compile Sass to CSS | |
run: sass src/index.sass:dist/styles.css | |
- name: Commit and Push | |
run: | | |
git config --global user.name 'Quartinal' | |
git config --global user.email '[email protected]' | |
git add dist/styles.css | |
git commit -m "Compile Sass" | |
git push |