Skip to content

Commit

Permalink
Update hexlet-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gonpaul committed May 29, 2024
1 parent 00f4d6d commit ce4d2a0
Showing 1 changed file with 4 additions and 34 deletions.
38 changes: 4 additions & 34 deletions .github/workflows/hexlet-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,43 +12,13 @@ on:
tags:
- '**'

env:
CI: true

jobs:
build:

# The type of machine to run the job on
runs-on: ubuntu-latest

strategy:
# Node versions list
matrix:
node-version: [20.x]

steps:
# Check-out repository under GitHub workspace
# https://github.com/actions/checkout
- uses: actions/checkout@v4
# Step's name
- name: Use Node.js ${{ matrix.node-version }}
# Configures the node version used on GitHub-hosted runners
# https://github.com/actions/setup-node
uses: actions/setup-node@v4
# The Node.js version to configure
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: make install
- run: make lint
- run: make test
- name: Test & publish code coverage
# Publish code coverage on Code Climate
# https://github.com/paambaati/codeclimate-action
uses: paambaati/codeclimate-action@v5.0.0
# Add Code Climate secret key
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

- name: Hexlet project check
uses: hexlet/project-action@release
with:
coverageCommand: make test-coverage
debug: true
hexlet-id: ${{ secrets.HEXLET_ID }}

0 comments on commit ce4d2a0

Please sign in to comment.