Skip to content

Commit 25079e1

Browse files
Updated GitHub Actions
1 parent 2ab1296 commit 25079e1

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/sass.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Sass CI
2+
3+
on:
4+
push:
5+
branches: ['master']
6+
7+
pull_request:
8+
branches: ['master']
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout source Git branch
16+
uses: actions/checkout@v3
17+
with:
18+
ref: master
19+
fetch-depth: 10
20+
submodules: 10
21+
22+
- name: Install Dependencies
23+
run: |
24+
cd static
25+
npm install
26+
27+
- name: Compile CSS from SCSS files
28+
uses: gha-utilities/sass-build@v0.5.1
29+
with:
30+
source: ./sass/styles.scss
31+
destination: ./css/styles.css

0 commit comments

Comments
 (0)