Skip to content

chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 9.1.0 #825

chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 9.1.0

chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 9.1.0 #825

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Tests
on:
pull_request:
branches: [master, main, release-**]
jobs:
build:
strategy:
matrix:
node: [16.x, 18.x]
os: ['ubuntu-latest', 'windows-2019', 'macos-latest']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: npm ci
- name: Verify Github PR Title
run: echo "${{ github.event.pull_request.title }}" | npx commitlint
- name: Verify Git Commit Name
run: git log -1 --pretty=format:"%s" | npx commitlint
- name: Lint the code
run: npm run lint
- name: Run tests
run: npm run test-with-coverage