Skip to content

Merge pull request #11 from Oksydan/analitics-data-bo #39

Merge pull request #11 from Oksydan/analitics-data-bo

Merge pull request #11 from Oksydan/analitics-data-bo #39

Workflow file for this run

name: Lint code
on: [ push, 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