build(deps-dev): bump husky from 4.3.8 to 9.1.7 #670
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
build: | |
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: ["14.x", "16.x", "17.x", "18.x", "19.x"] | |
os: [ubuntu-latest] | |
# os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Use Node ${{ matrix.node }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install deps | |
run: yarn | |
- name: Build | |
run: yarn build | |
- name: Test | |
run: yarn test | |
- name: Lint | |
run: yarn lint | |
- name: Code formatting | |
run: yarn check-style | |
- name: Upload coverage reports | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
uses: paambaati/[email protected] | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.TEST_REPORTER_ID }} | |
with: | |
debug: true | |
coverageLocations: | | |
${{github.workspace}}/packages/core/coverage/lcov.info:lcov | |
${{github.workspace}}/packages/authentication-adapters/coverage/lcov.info:lcov | |
${{github.workspace}}/packages/axios-client-adapter/coverage/lcov.info:lcov | |
${{github.workspace}}/packages/file-wrapper/coverage/lcov.info:lcov | |
${{github.workspace}}/packages/http-headers/coverage/lcov.info:lcov | |
${{github.workspace}}/packages/http-query/coverage/lcov.info:lcov | |
${{github.workspace}}/packages/oauth-adapters/coverage/lcov.info:lcov | |
${{github.workspace}}/packages/schema/coverage/lcov.info:lcov | |
${{github.workspace}}/packages/test-utilities/coverage/lcov.info:lcov |