Skip to content

Commit

Permalink
Merge 5869d03 into 546bc41
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoishin committed Oct 6, 2020
2 parents 546bc41 + 5869d03 commit 710ddec
Show file tree
Hide file tree
Showing 38 changed files with 9,626 additions and 3,170 deletions.
7 changes: 4 additions & 3 deletions .eslintignore
@@ -1,3 +1,4 @@
node_modules
coverage
dist
/node_modules
/coverage
/dist
/test/fixtures
8 changes: 0 additions & 8 deletions .eslintrc

This file was deleted.

11 changes: 11 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,11 @@
{
"root": true,
"extends": ["xo", "xo-typescript", "prettier", "prettier/@typescript-eslint"],
"rules": {
"capitalized-comments": 0,
"@typescript-eslint/no-floating-promises": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-implicit-any-catch": 0,
"@typescript-eslint/promise-function-async": 0
}
}
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -2,17 +2,15 @@ name: CI

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
node-version: [10.x, 12.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -22,8 +20,16 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-${{ matrix.node-version }}
- run: npm i -g bower
- run: npm ci
- run: npm run static
- run: npm test
- run: npm run coveralls
- uses: coverallsapp/github-action@master
with:
github-token: ${{ github.token }}
- run: npm run build

4 changes: 4 additions & 0 deletions .prettierignore
@@ -0,0 +1,4 @@
/node_modules
/coverage
/dist
/test/fixtures
4 changes: 4 additions & 0 deletions jest.config.js
@@ -0,0 +1,4 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node'
};

0 comments on commit 710ddec

Please sign in to comment.