From 06f68d8bc05d168455fa85aa0bf5f2b04d94427e Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Sun, 26 Sep 2021 18:36:28 +0200 Subject: [PATCH] Fix workflow, add badges --- .github/workflows/lint.js.yml | 3 ++- README.md | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.js.yml b/.github/workflows/lint.js.yml index e8f9e90..5542ba2 100644 --- a/.github/workflows/lint.js.yml +++ b/.github/workflows/lint.js.yml @@ -14,6 +14,7 @@ jobs: runs-on: ubuntu-latest env: CI: true + NPM_GITHUB_TOKEN: ${{ secrets.NPM_GITHUB_PAT }} strategy: matrix: @@ -26,5 +27,5 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: npm i + - run: npm ci - run: npm run lint diff --git a/README.md b/README.md index 0d8a70b..bbd8683 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # 📦 SpeedyTuner INI parser ![master](https://github.com/speedy-tuner/ini/actions/workflows/lint.js.yml/badge.svg?branch=master) +[![Maintainability](https://api.codeclimate.com/v1/badges/6037e4d75ed48df20016/maintainability)](https://codeclimate.com/github/speedy-tuner/ini/maintainability) +[![Test Coverage](https://api.codeclimate.com/v1/badges/6037e4d75ed48df20016/test_coverage)](https://codeclimate.com/github/speedy-tuner/ini/test_coverage) ![License](https://img.shields.io/github/license/speedy-tuner/ini) ## Installation