Skip to content

Commit 9585a61

Browse files
committed
- adds node 12 to versions being tested
- adds linting to CI - disables test from CI as we don't have unit tests
1 parent 1bee40a commit 9585a61

File tree

5 files changed

+2433
-1780
lines changed

5 files changed

+2433
-1780
lines changed

.github/workflows/nodejs.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [10.x]
19+
node-version: [10.x, 12.x]
2020

2121
steps:
2222
- uses: actions/checkout@v2
@@ -26,6 +26,7 @@ jobs:
2626
node-version: ${{ matrix.node-version }}
2727
- run: npm ci
2828
- run: npm run build --if-present
29-
- run: npm test
30-
env:
31-
CI: true
29+
- run: npm run lint
30+
# - run: npm test
31+
# env:
32+
# CI: true

babel.config.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"compact": false,
3+
"ignore": [
4+
".tmp"
5+
],
6+
"presets": ["@babel/env"]
7+
}

bin/www renamed to index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env node
22

3-
import { app } from '../app';
4-
import { createDatabase } from '../helpers/dbHelper';
3+
import { app } from './app';
4+
import { createDatabase } from './helpers/dbHelper';
55

66
createDatabase();
77

0 commit comments

Comments
 (0)