Add badge, format yaml

This commit is contained in:
Piotr Rogowski 2021-09-26 18:12:27 +02:00
parent 17c41980a3
commit 03fb77b2ee
No known key found for this signature in database
GPG Key ID: F40F61D5587F5673
3 changed files with 17 additions and 16 deletions

View File

@ -21,10 +21,10 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run lint
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run lint

View File

@ -25,12 +25,12 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,5 +1,6 @@
# 📦 SpeedyTuner common TypeScript types
![master](https://github.com/speedy-tuner/types/actions/workflows/lint.js.yml/badge.svg?branch=master)
[![Maintainability](https://api.codeclimate.com/v1/badges/bb3cdf2c77ec769ee401/maintainability)](https://codeclimate.com/github/speedy-tuner/types/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/bb3cdf2c77ec769ee401/test_coverage)](https://codeclimate.com/github/speedy-tuner/types/test_coverage)
![License](https://img.shields.io/github/license/speedy-tuner/types)