remove init hook, use default make target
This commit is contained in:
@@ -22,10 +22,10 @@ jobs:
|
||||
- name: Initialize Runner
|
||||
uses: actions/setup-node@v4
|
||||
|
||||
- name: Check and Run `make workflow-init`
|
||||
- name: Check and Run `make` Default Target
|
||||
run: |
|
||||
if make -n workflow-init > /dev/null 2>&1; then
|
||||
make workflow-init
|
||||
if command -v make &> /dev/null; then
|
||||
make
|
||||
fi
|
||||
|
||||
- name: Install Linters
|
||||
@@ -59,8 +59,13 @@ jobs:
|
||||
if: always()
|
||||
run: |
|
||||
CONFIG_FILE="dev_config/.stylelintrc.json"
|
||||
IGNORE_FILE="dev_config/.stylelintignore"
|
||||
if [ -f "$CONFIG_FILE" ]; then
|
||||
npx stylelint --config "$CONFIG_FILE" --formatter verbose '**/*.css'
|
||||
if [ -f "$IGNORE_FILE" ]; then
|
||||
npx stylelint --config "$CONFIG_FILE" --ignore-path "$IGNORE_FILE" --formatter verbose '**/*.css'
|
||||
else
|
||||
npx stylelint --config "$CONFIG_FILE" --formatter verbose '**/*.css'
|
||||
fi
|
||||
fi
|
||||
|
||||
- name: Run eslint
|
||||
|
||||
Reference in New Issue
Block a user