diff --git a/.github/workflows/run-tests.yml b/.github/workflows/test.yml similarity index 91% rename from .github/workflows/run-tests.yml rename to .github/workflows/test.yml index 7a840e9..d9c8265 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Run tests +name: Test on: push: @@ -8,10 +8,13 @@ on: jobs: test: + runs-on: ubuntu-latest + strategy: matrix: - node-version: [14.x, 15.x, 16.x] + node-version: [lts/*, 17.x] + steps: - name: Checkout uses: actions/checkout@v2 diff --git a/README.md b/README.md index 4227c2a..5f72301 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,11 @@ > A pretty formatter for [Stylelint](https://stylelint.io/) -[![Tests](https://github.com/mrcgrtz/stylelint-formatter-pretty/actions/workflows/run-tests.yml/badge.svg)](https://github.com/mrcgrtz/stylelint-formatter-pretty/actions/workflows/run-tests.yml) +[![Test](https://github.com/mrcgrtz/stylelint-formatter-pretty/actions/workflows/test.yml/badge.svg)](https://github.com/mrcgrtz/stylelint-formatter-pretty/actions/workflows/test.yml) [![Coverage Status](https://coveralls.io/repos/github/mrcgrtz/stylelint-formatter-pretty/badge.svg?branch=main)](https://coveralls.io/github/mrcgrtz/stylelint-formatter-pretty?branch=main) [![Install size](https://packagephobia.now.sh/badge?p=stylelint-formatter-pretty)](https://packagephobia.now.sh/result?p=stylelint-formatter-pretty) -[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo) -[![MIT license](https://img.shields.io/github/license/mrcgrtz/stylelint-formatter-pretty.svg)](https://github.com/mrcgrtz/stylelint-formatter-pretty/blob/main/LICENSE.md) +[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) +[![License](https://img.shields.io/github/license/mrcgrtz/stylelint-formatter-pretty.svg)](https://github.com/mrcgrtz/stylelint-formatter-pretty/blob/main/LICENSE.md) ![Screenshot](screenshot.png)