Skip to content

Reintroduce Threads-like media proportions for single column mode, mi… #1035

Reintroduce Threads-like media proportions for single column mode, mi…

Reintroduce Threads-like media proportions for single column mode, mi… #1035

Workflow file for this run

name: CSS
on: [push, pull_request]
jobs:
build:
name: Test styles
runs-on: ubuntu-20.04
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
- name: Install stylelint packages
run: |
npm install --global \
stylelint@^15.2.0 \
stylelint-config-standard@^30.0.1 \
stylelint-order@^6.0.3 \
@ronilaukkarinen/stylelint-a11y@^1.2.7 \
@ronilaukkarinen/stylelint-declaration-strict-value@^1.9.2 \
@ronilaukkarinen/stylelint-value-no-unknown-custom-properties@^4.0.1 \
stylelint-config-recommended@^14.0.1 \
stylelint-csstree-validator@^3.0.0 \
[email protected]
- name: Run stylelint
run: |
npx stylelint *.css --max-warnings 0 --config .stylelintrc
- name: Validate CSS syntax
run: node validate-css.js