Skip to content

Commit

Permalink
ci: fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
nodkz committed Jun 1, 2021
1 parent be509fa commit e179910
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
4 changes: 2 additions & 2 deletions src/errors/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { InterfaceTypeComposer, SchemaComposer } from 'graphql-compose';
import { MongoError, getMongoErrorOTC } from './MongoError';
import { getMongoErrorOTC } from './MongoError';
import { ValidationError, getValidationErrorOTC } from './ValidationError';
import { RuntimeError, getRuntimeErrorOTC } from './RuntimeError';

export { MongoError, ValidationError, RuntimeError };
export { ValidationError, RuntimeError };

export function getErrorInterface(schemaComposer: SchemaComposer<any>): InterfaceTypeComposer {
const ErrorInterface = schemaComposer.getOrCreateIFTC('ErrorInterface', (iftc) => {
Expand Down

0 comments on commit e179910

Please sign in to comment.