diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 573aae9..2ea058b 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -1,7 +1,7 @@ # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions -name: Node.js CI +name: Build CI on: push: diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9fa5940..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: node_js -node_js: - - '14.15.4' -install: - - npm install -script: - - npm run lint - - npm run build \ No newline at end of file diff --git a/README.md b/README.md index c435eba..3c28423 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # vue-git-comment -[![npm][npm_image]][npm_url] [![travis][travis_image]][travis_url] [![gzip][gzip_image]][gzip_url] [![license][license_image]][npm_url] +[![npm][npm_image]][npm_url] [![Github Actions][actions_image]][actions_url] [![gzip][gzip_image]][gzip_url] [![license][license_image]][npm_url] 这是一个基于 `github issues` 和 `vue` 的纯前端评论组件,不需要服务端。 @@ -123,8 +123,8 @@ gitalk 我也特地去了解了一哈,也是非常优秀的一个项目。但 [npm_image]: https://img.shields.io/npm/v/vue-git-comment.svg [npm_url]: https://www.npmjs.com/package/vue-git-comment -[travis_image]: https://img.shields.io/travis/com/shalldie/vue-git-comment -[travis_url]: https://travis-ci.com/shalldie/vue-git-comment +[actions_image]: https://github.com/shalldie/vue-git-comment/actions/workflows/node.js.yml/badge.svg +[actions_url]: https://github.com/shalldie/vue-git-comment/actions [gzip_image]: https://img.badgesize.io/https://cdn.jsdelivr.net/npm/vue-git-comment@0.0.16/dist/vue-git-comment.umd.min.js?compression=gzip [gzip_url]: https://cdn.jsdelivr.net/npm/vue-git-comment@0.0.16/dist/vue-git-comment.umd.min.js [license_image]: https://img.shields.io/npm/l/vue-git-comment.svg