Skip to content

Commit

Permalink
feat: lint fixes & repo housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakkulkarni committed Feb 21, 2021
1 parent 20200b5 commit c93c80e
Show file tree
Hide file tree
Showing 12 changed files with 3,032 additions and 7,010 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Build and Deploy'

on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
with:
persist-credentials: false

- name: Install and Build 🔧
run: |
npm install
npm run build-storybook
- name: Deploy to GitHub Pages 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./static/storybook
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,7 @@ dist

# TernJS port file
.tern-port
.DS_Store
.DS_Store

# Static storybook
static/storybook
12 changes: 0 additions & 12 deletions .prettierrc

This file was deleted.

4 changes: 0 additions & 4 deletions .storybook/config.js

This file was deleted.

2 changes: 1 addition & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
stories: ['../src/**/*.stories.[tj]s'],
};
};
2 changes: 1 addition & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
};
};
2 changes: 1 addition & 1 deletion husky.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ module.exports = {
'pre-commit': 'npm run lint',
'pre-push': 'npm run lint',
},
};
};
Loading

0 comments on commit c93c80e

Please sign in to comment.