Skip to content

Merge pull request #405 from Oksydan/accessibility-fixes #638

Merge pull request #405 from Oksydan/accessibility-fixes

Merge pull request #405 from Oksydan/accessibility-fixes #638

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 ./_dev && npm install
- name: Stylelint action
run: cd ./_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 ./_dev && npm install
- name: Eslint action
run: cd ./_dev && npm run js-lint