Skip to content

build(deps-dev): bump husky from 9.1.6 to 9.1.7 #2797

build(deps-dev): bump husky from 9.1.6 to 9.1.7

build(deps-dev): bump husky from 9.1.6 to 9.1.7 #2797

name: CI
on: [push, pull_request]
jobs:
checks:
name: Linters
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- run: npm ci --ignore-scripts
- run: npm run prettier:check
- run: npm run lint:check
tests:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['lts/*', 'current']
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Setting up Node.js (v${{ matrix.node-version }}.x)
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci --ignore-scripts
- run: npm run test:ci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
if: ${{ matrix.node-version == 'current' }}
with:
file: ./coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }}
commit: ${{ github.sha }}
branch: ${{ github.ref }}
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- run: npm ci --ignore-scripts
- run: npm run build:es2015
- run: npm run build:cjs
- run: npm run build:types