build(deps-dev): bump sinon from 7.5.0 to 19.0.0 #385
Workflow file for this run
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: Build | |
on: | |
pull_request: | |
branches: [ master, main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [20.x, 22.x] | |
env: | |
TITLE: ${{ github.event.pull_request.title }} | |
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 i | |
- name: Verify Github PR Title | |
run: echo $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 test | |
run: npm run test |