Skip to content

Commit f87aa8a

Browse files
author
tuphan-dn
committed
_
1 parent 86f77e0 commit f87aa8a

25 files changed

+8092
-1133
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Automatic Deployment
2+
3+
on:
4+
push:
5+
branches: [master]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Welcome
12+
run: echo Start deploying Project Kylan
13+
- name: Checkout git
14+
uses: actions/checkout@v2
15+
- name: Install dependencies
16+
run: npm install
17+
- name: Deploy core to gh-pages branch
18+
run: |
19+
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
20+
npm run deploy -- -u "github-actions-bot <[email protected]>"
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.prettierrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"trailingComma": "all",
3+
"tabWidth": 2,
4+
"semi": false,
5+
"singleQuote": true,
6+
"printWidth": 80
7+
}

craco.config.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
const { CracoLessPlugin } = require('./plugins/craco-less')
2+
3+
module.exports = {
4+
plugins: [
5+
{
6+
plugin: CracoLessPlugin,
7+
options: {
8+
lessLoaderOptions: {
9+
lessOptions: {
10+
javascriptEnabled: true,
11+
},
12+
},
13+
},
14+
},
15+
],
16+
}

0 commit comments

Comments
 (0)