Skip to content

Commit

Permalink
feat: init
Browse files Browse the repository at this point in the history
  • Loading branch information
senwii committed Oct 24, 2019
0 parents commit 0343111
Show file tree
Hide file tree
Showing 15 changed files with 8,747 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["@babel/preset-env", "@babel/preset-react"],
}
38 changes: 38 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,py}]
charset = utf-8

# 4 space indentation
[*.py]
indent_style = space
indent_size = 4

# Tab indentation (no size specified)
[Makefile]
indent_style = tab

# Indentation override for all JS
[*.js]
indent_style = space
indent_size = 2

# Indentation override for all style files
[*.less, *.scss, *.css]
indent_style = space
indent_size = 2

# Matches the exact files either package.json or .travis.yml
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#introduce https://help.github.com/en/articles/configuring-a-workflow
#syntax doc https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: ci
on:
push:
branches:
- master
jobs:
build_and_depoly:
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v1
with:
node-version: 10.x

- name: Build and Depoly
uses: JamesIves/github-pages-deploy-action@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
BUILD_SCRIPT: npm install && npm run build
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
dist
yarn.lock
.vscode
.DS_Store
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# awesome-drawing
> A Drawing Tool for my blog.
![ci action](https://github.com/senwii/awesome-drawing/workflows/ci/badge.svg)
Loading

0 comments on commit 0343111

Please sign in to comment.