Skip to content

Commit

Permalink
Drop node 12 support, address review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
decompil3d committed Aug 16, 2021
1 parent 621682a commit f1694a9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tickets, requesting reviews, and commenting about a missing required file change

## System requirements

Pullie runs on public GitHub or on GitHub Enterprise 2.14 or later. It requires Node.js 12 or later.
Pullie runs on public GitHub or on GitHub Enterprise 2.14 or later. It requires Node.js 14 or later.

## How to run/deploy

Expand Down
10 changes: 5 additions & 5 deletions babel.config.cjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module.exports = {
"presets": [
["@babel/preset-env", {
"targets": {
"node": "current"
presets: [
['@babel/preset-env', {
targets: {
node: 'current'
}
}]
]
}
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"smee-client": "^1.2.2"
},
"engines": {
"node": ">= 12"
"node": ">= 14"
},
"nodemonConfig": {
"exec": "npm start",
Expand Down
4 changes: 2 additions & 2 deletions test/unit/config-processor.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import assume from 'assume';
import assumeSinon from 'assume-sinon';
import sinon from 'sinon';

assume.use(assumeSinon);

import processConfig, { applyExcludeList, applyIncludeList } from '../../config-processor.js';

assume.use(assumeSinon);

/**
* @typedef {Object} Plugin
* @prop {string} plugin The name of the plugin
Expand Down
5 changes: 2 additions & 3 deletions test/unit/plugins/welcome.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ assume.use(assumeSinon);
import WelcomePlugin from '../../../plugins/welcome/index.js';
import Commenter from '../../../commenter.js';

const sandbox = sinon.createSandbox();
const addCommentStub = sandbox.stub();
const addCommentStub = sinon.stub();
const commenter = {
addComment: addCommentStub
};
Expand All @@ -17,7 +16,7 @@ const welcomePlugin = new WelcomePlugin();

describe('WelcomePlugin', function () {
after(function () {
sandbox.restore();
sinon.restore();
});

let mockContext;
Expand Down

0 comments on commit f1694a9

Please sign in to comment.