diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/release.yml similarity index 97% rename from .github/workflows/npm-publish.yml rename to .github/workflows/release.yml index 28a8121..3533088 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,7 @@ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages -name: Node.js Package +name: release on: release: diff --git a/.github/workflows/master-test.yml b/.github/workflows/test.yml similarity index 95% rename from .github/workflows/master-test.yml rename to .github/workflows/test.yml index 3a0a483..3661757 100644 --- a/.github/workflows/master-test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,7 @@ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages -name: Node.js Package +name: test on: push: diff --git a/README.md b/README.md index b7841d7..a68cd49 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ -# jsjq - jq with ECMAScript syntax +# jsjq - jq with ECMAScript syntax + +[![npm version](https://img.shields.io/npm/v/jsjq.svg)](https://www.npmjs.com/package/jsjq) +[![Test Status](https://github.com/twoojoo/jsjq/actions/workflows/test.yml/badge.svg)](https://github.com/twoojoo/jsjq/actions) +[![Release Status](https://github.com/twoojoo/jsjq/actions/workflows/release.yml/badge.svg)](https://github.com/twoojoo/jsjq/actions) > it uses **eval()** to run your code, be warned (code is checked using [safe-eval](https://www.npmjs.com/package/safe-eval))