Skip to content

Replace sass-lint with stylelint #985

Replace sass-lint with stylelint

Replace sass-lint with stylelint #985

Workflow file for this run

name: Build and test
on:
push:
branches: ['**', '!backport/**', '!whitesource-remediate/**']
paths-ignore:
- '**/*.md'
pull_request:
branches: ['**']
paths-ignore:
- '**/*.md'
jobs:
build-lint-test:
runs-on: ${{ matrix.os }}
name: Build and Verify
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
cache: 'yarn'
- name: Setup Yarn
run: |
npm uninstall -g yarn
npm i -g [email protected]
yarn install --frozen-lockfile
- name: Run linter
run: yarn lint
- name: Run unit tests
run: yarn test-unit