docs: demos intro, changelog reformat and storybook styling #97
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
name: Lint | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
jobs: | |
getNodeVersion: | |
uses: calyptia/.github/.github/workflows/get_node_version.yml@main | |
lint: | |
name: Lints Britecharts | |
runs-on: ubuntu-latest | |
needs: getNodeVersion | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setting node version to ${{ needs.getNodeVersion.outputs.node_version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '${{ needs.getNodeVersion.outputs.node_version }}' | |
- name: Use Yarn cache | |
uses: actions/cache@v2 | |
id: yarn-cache | |
with: | |
path: '.yarn/cache' | |
key: ${{ runner.os }}-yarn-${{ needs.getNodeVersion.outputs.node_version }}-${{ hashFiles('**/yarn.lock') }} | |
- name: Install dependencies | |
run: yarn | |
- name: Linting Styles 🌈 | |
run: yarn lint:styles | |
- name: Linting Code 🗃 | |
run: yarn lint:js |