From 5914b443124d92e95d1b7d9ff0c5799e8725d967 Mon Sep 17 00:00:00 2001 From: Mikita Date: Thu, 14 Nov 2024 23:04:32 +0300 Subject: [PATCH] ci: create say-hello workflow --- .github/workflows/lint-check.yml | 13 +++++++++++++ README.md | 1 + 2 files changed, 14 insertions(+) create mode 100644 .github/workflows/lint-check.yml diff --git a/.github/workflows/lint-check.yml b/.github/workflows/lint-check.yml new file mode 100644 index 0000000..a112777 --- /dev/null +++ b/.github/workflows/lint-check.yml @@ -0,0 +1,13 @@ +name: lint-check +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '23.x' + cache: 'npm' + - run: make install + - run: make lint diff --git a/README.md b/README.md index 30f1aa9..bdafc7d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ ### Hexlet tests and linter status: [![Actions Status](https://github.com/sazanik/backend-project-lvl1/actions/workflows/hexlet-check.yml/badge.svg)](https://github.com/sazanik/backend-project-lvl1/actions) +[![lint-check](https://github.com/sazanik/backend-project-lvl1/actions/workflows/lint-check.yml/badge.svg?event=push)](https://github.com/sazanik/backend-project-lvl1/actions/workflows/lint-check.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/9ff520ee5368a3db6146/maintainability)](https://codeclimate.com/github/sazanik/backend-project-lvl1/maintainability)