Skip to content

[OP-151] Component Documentation Structure #271

[OP-151] Component Documentation Structure

[OP-151] Component Documentation Structure #271

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, and run linting
name: Linting CI
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
build:
name: Run linters and check build scripts
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
cache: 'npm'
- name: Install
run: npm install
- name: Run ESLint
run: npm run lint:js
- name: Run Stylelint
run: npm run lint:css
- name: Run Prettier
run: npm run prettier-check
- name: Build CSS
run: npm run build:css
- name: Build SCSS
run: npm run build:scss
- name: Build Tokens
run: npm run build:tokens
- name: Build Storybook
run: npm run build-storybook