Skip to content

Commit

Permalink
Merge 362a7bd into cf1ee28
Browse files Browse the repository at this point in the history
  • Loading branch information
ricokahler committed Mar 1, 2020
2 parents cf1ee28 + 362a7bd commit 040b164
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 6 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,14 @@
name: Test
on:
- pull_request

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: npm i
- run: npm run build
14 changes: 14 additions & 0 deletions .github/workflows/lint.yml
@@ -0,0 +1,14 @@
name: Lint
on:
- pull_request

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: npm i
- run: npm run lint
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,14 @@
name: Test
on:
- pull_request

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: npm i
- run: npm t
20 changes: 16 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"test": "npx eslint src && jest --coverage --coverageReporters=text-lcov | coveralls",
"clean": "rimraf node_modules && npm i",
"lint": "eslint src",
"build": "node ./scripts/build.js",
"check-types": "npx tsc",
"publish": "npx jest && npx eslint src && npm run check-types && npm run build && cd build && npm publish && cd ..",
Expand Down Expand Up @@ -38,7 +39,6 @@
"@types/react": "^16.8.23",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"acorn": "^6.3.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"common-tags": "^1.8.0",
Expand All @@ -58,7 +58,7 @@
"node-fetch": "^2.6.0",
"prettier": "^1.18.2",
"react": "^16.13.0",
"react-dom": "^16.12.0",
"react-dom": "^16.13.0",
"react-redux": "^7.2.0",
"react-test-renderer": "^16.12.0",
"redux": "^4.0.5",
Expand Down

0 comments on commit 040b164

Please sign in to comment.