[OP-151] Component Documentation Structure #260
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |