forked from tsai/budibase
committed by
GitHub
7 changed files with 5418 additions and 20 deletions
@ -0,0 +1,23 @@ |
|||||
|
{ |
||||
|
"env": { |
||||
|
"browser": true, |
||||
|
"es6": true, |
||||
|
"jest": true |
||||
|
}, |
||||
|
"parserOptions": { |
||||
|
"ecmaVersion": 2019, |
||||
|
"sourceType": "module" |
||||
|
}, |
||||
|
"ignorePatterns": ["node_modules", "dist", "public"], |
||||
|
"plugins": ["prettier", "svelte3"], |
||||
|
"extends": ["eslint:recommended"], |
||||
|
"overrides": [ |
||||
|
{ |
||||
|
"files": ["**/*.svelte"], |
||||
|
"processor": "svelte3/svelte3" |
||||
|
} |
||||
|
], |
||||
|
"rules": { |
||||
|
"prettier/prettier": "error" |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,35 @@ |
|||||
|
name: Budibase CI |
||||
|
|
||||
|
on: |
||||
|
# Trigger the workflow on push or pull request, |
||||
|
# but only for the master branch |
||||
|
push: |
||||
|
branches: |
||||
|
- master |
||||
|
pull_request: |
||||
|
branches: |
||||
|
- master |
||||
|
|
||||
|
jobs: |
||||
|
build: |
||||
|
|
||||
|
runs-on: ubuntu-latest |
||||
|
|
||||
|
strategy: |
||||
|
matrix: |
||||
|
node-version: [10.x] |
||||
|
|
||||
|
steps: |
||||
|
- uses: actions/checkout@v2 |
||||
|
- name: Use Node.js ${{ matrix.node-version }} |
||||
|
uses: actions/setup-node@v1 |
||||
|
with: |
||||
|
node-version: ${{ matrix.node-version }} |
||||
|
- run: yarn |
||||
|
- run: yarn lint |
||||
|
- run: yarn build |
||||
|
- run: yarn test |
||||
|
env: |
||||
|
CI: true |
||||
|
name: Budibase CI |
||||
|
|
||||
@ -0,0 +1,7 @@ |
|||||
|
{ |
||||
|
"tabWidth": 2, |
||||
|
"semi": false, |
||||
|
"singleQuote": false, |
||||
|
"trailingComma": "es5", |
||||
|
"plugins": ["prettier-plugin-svelte"] |
||||
|
} |
||||
@ -1,12 +0,0 @@ |
|||||
{ |
|
||||
"env": { |
|
||||
"browser": true, |
|
||||
"es6": true, |
|
||||
"jest": true |
|
||||
}, |
|
||||
"extends": "eslint:recommended", |
|
||||
"parser": "babel-eslint", |
|
||||
"parserOptions": { |
|
||||
"sourceType": "module" |
|
||||
} |
|
||||
} |
|
||||
File diff suppressed because it is too large
Loading…
Reference in new issue