chore(deps): bump micromatch from 4.0.7 to 4.0.8 #15
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: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 18.x, 20.x, 21.x, 22.x ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm install | |
- name: Run Build | |
run: npm run build | |
- name: Lint Codebase | |
run: npm run lint | |
- name: Unit Tests | |
if: matrix.node-version != '22.x' | |
run: npm run test | |
- name: Publish code coverage | |
if: matrix.node-version == '22.x' | |
uses: paambaati/[email protected] | |
env: | |
CC_TEST_REPORTER_ID: ${{secrets.CODE_CLIMATE_REPORTER_ID}} | |
with: | |
coverageCommand: npm run coverage |