FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #6123 from marc1706/ticket/16687 · softwaremind/phpbb@5c50f12 · GitHub

forked from phpbb/phpbb

Commit 5c50f12

Browse files
authored
Merge pull request phpbb#6123 from marc1706/ticket/16687
[ticket/16687] Add check stylesheet with stylelint to github workflow
2 parents c48b6fb + e5418dd commit 5c50f12

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

‎.github/check-stylesheet.sh‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
#
3+
# This file is part of the phpBB Forum Software package.
4+
#
5+
# @copyright (c) phpBB Limited <https://www.phpbb.com>
6+
# @license GNU General Public License, version 2 (GPL-2.0)
7+
#
8+
# For full copyright and license information, please see
9+
# the docs/CREDITS.txt file.
10+
#
11+
set -e
12+
set +x
13+
14+
sudo npm install -g > /dev/null
15+
npm install > /dev/null
16+
set -x
17+
node_modules/stylelint/bin/stylelint.js "phpBB/styles/prosilver/theme/*.css"
18+
node_modules/stylelint/bin/stylelint.js "phpBB/adm/style/*.css"

‎.github/workflows/tests.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ jobs:
8080
run: |
8181
.github/check-executable-files.sh ./
8282
83+
- name: Check stylesheets
84+
run: |
85+
.github/check-stylesheet.sh
86+
8387
- name: Check commit message
8488
if: github.event_name == 'pull_request'
8589
run: |

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL