diff --git a/README.md b/README.md index 33ff447..1c86ce1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # grunt-markdownlint -[![NPM Version](http://img.shields.io/npm/v/grunt-markdownlint.svg?style=flat)](https://www.npmjs.org/package/grunt-markdownlint) [![Build Status](https://travis-ci.org/sagiegurari/grunt-markdownlint.svg)](http://travis-ci.org/sagiegurari/grunt-markdownlint) [![Coverage Status](https://coveralls.io/repos/sagiegurari/grunt-markdownlint/badge.svg)](https://coveralls.io/r/sagiegurari/grunt-markdownlint) [![Known Vulnerabilities](https://snyk.io/test/github/sagiegurari/grunt-markdownlint/badge.svg)](https://snyk.io/test/github/sagiegurari/grunt-markdownlint) [![Inline docs](http://inch-ci.org/github/sagiegurari/grunt-markdownlint.svg?branch=master)](http://inch-ci.org/github/sagiegurari/grunt-markdownlint)
+[![NPM Version](http://img.shields.io/npm/v/grunt-markdownlint.svg?style=flat)](https://www.npmjs.org/package/grunt-markdownlint) [![CI](https://github.com/sagiegurari/grunt-markdownlint/workflows/CI/badge.svg?branch=master)](https://github.com/sagiegurari/grunt-markdownlint/actions) [![Coverage Status](https://coveralls.io/repos/sagiegurari/grunt-markdownlint/badge.svg)](https://coveralls.io/r/sagiegurari/grunt-markdownlint) [![Known Vulnerabilities](https://snyk.io/test/github/sagiegurari/grunt-markdownlint/badge.svg)](https://snyk.io/test/github/sagiegurari/grunt-markdownlint) [![Inline docs](http://inch-ci.org/github/sagiegurari/grunt-markdownlint.svg?branch=master)](http://inch-ci.org/github/sagiegurari/grunt-markdownlint)
[![License](https://img.shields.io/npm/l/grunt-markdownlint.svg?style=flat)](https://github.com/sagiegurari/grunt-markdownlint/blob/master/LICENSE) [![Total Downloads](https://img.shields.io/npm/dt/grunt-markdownlint.svg?style=flat)](https://www.npmjs.org/package/grunt-markdownlint) [![Dependency Status](https://david-dm.org/sagiegurari/grunt-markdownlint.svg)](https://david-dm.org/sagiegurari/grunt-markdownlint) [![devDependency Status](https://david-dm.org/sagiegurari/grunt-markdownlint/dev-status.svg)](https://david-dm.org/sagiegurari/grunt-markdownlint?type=dev) > A grunt task for markdown style checker and lint tool. @@ -84,6 +84,7 @@ See [contributing guide](.github/CONTRIBUTING.md) | Date | Version | Description | | ----------- | ------- | ----------- | +| 2020-05-11 | v3.0.0 | Migrate to github actions and upgrade minimal node version | | 2020-04-13 | v2.10.0 | Upgrade markdownlint version | | 2018-06-07 | v2.0.0 | Upgrade markdownlint and minimal node version | | 2018-05-29 | v1.1.6 | Upgrade markdownlint version | diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 3aba2a9..97e51b1 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,6 @@ | Date | Version | Description | | ----------- | ------- | ----------- | +| 2020-05-11 | v3.0.0 | Migrate to github actions and upgrade minimal node version | | 2020-04-13 | v2.10.0 | Upgrade markdownlint version | | 2018-06-07 | v2.0.0 | Upgrade markdownlint and minimal node version | | 2018-05-29 | v1.1.6 | Upgrade markdownlint version | diff --git a/package.json b/package.json index b76bba5..697ef07 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "grunt-markdownlint", - "version": "2.10.0", + "version": "3.0.0", "description": "A grunt task for markdown style checker and lint tool.", "author": { "name": "Sagie Gur-Ari", diff --git a/test/spec/grunt-markdownlint-spec.js b/test/spec/grunt-markdownlint-spec.js index d0ca8e5..0536d88 100644 --- a/test/spec/grunt-markdownlint-spec.js +++ b/test/spec/grunt-markdownlint-spec.js @@ -19,14 +19,6 @@ describe('Grunt Markdownlint', function () { options() { return {}; }, - async() { - return function (valid) { - assert.isTrue(valid); - assert.isTrue(okCalled); - - done(); - }; - }, log: { ok() { okCalled = true; @@ -40,6 +32,15 @@ describe('Grunt Markdownlint', function () { } }; + grunt.async = function () { + return function doneCallback(valid) { + assert.isTrue(valid); + assert.isTrue(okCalled); + + done(); + }; + }; + const taskFunction = task(grunt); assert.isTrue(registerCalled);