Skip to content

Update the github actions to only check the templates folder #2

Update the github actions to only check the templates folder

Update the github actions to only check the templates folder #2

name: Lint the CSS code style
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: 'npm'
- name: Install dependencies
run: npm install --only=dev
- name: Run stylelint
run: |
npx stylelint --color "templates/**/*.css"