Skip to content

pull request template #47

pull request template

pull request template #47

Workflow file for this run

name: Lint code
on: [ pull_request ]
permissions:
contents: read
jobs:
stylelint:
name: Code quality - SCSS Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Install dependencies
run: cd ./_theme_dev && npm install
- name: Stylelint action
run: cd ./_theme_dev && npm run scss-lint
eslint:
name: Code quality - ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Install dependencies
run: cd ./_theme_dev && npm install
- name: Eslint action
run: cd ./_theme_dev && npm run js-lint