Skip to content

build(deps): bump usehooks-ts from 2.9.1 to 2.9.2 #91

build(deps): bump usehooks-ts from 2.9.1 to 2.9.2

build(deps): bump usehooks-ts from 2.9.1 to 2.9.2 #91

Workflow file for this run

name: Test CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Depedencies
run: npm ci
- name: Install test reporter
env:
CI_BUILD_ID: ${{ github.run_id }}
CI_NAME: github
GIT_BRANCH: main
GIT_COMMIT_SHA: ${{ github.sha }}
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
- name: Run Test
run: npm test
- name: Send test reporter
env:
CI_BUILD_ID: ${{ github.run_id }}
CI_NAME: github
GIT_BRANCH: main
GIT_COMMIT_SHA: ${{ github.sha }}
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
run: |
export GIT_COMMITTED_AT="$(date +%s)"
./cc-test-reporter format-coverage -t lcov ./tests/coverage/lcov.info
./cc-test-reporter upload-coverage