Skip to content

ci: fix

ci: fix #72

Workflow file for this run

name: Check
on:
push:
branches: []
paths:
- 'src/*'
- '*.json'
- '.github/workflows/check.yml'
pull_request:
branches: []
paths:
- 'src/*'
- '*.json'
- '.github/workflows/check.yml'
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Restore node modules cache
uses: actions/cache@v4
with:
path: ./node_modules/
key: npm-${{ hashFiles('package.json') }}
-
name: Install dependencies
run: npm install
-
name: Check
uses: paambaati/codeclimate-action@v2.2.4
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: npm run test:reporter