chore(deps-dev): bump @vitest/coverage-v8 from 2.1.4 to 2.1.8 #685
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
on: | |
[pull_request] | |
name: Run unit tests | |
jobs: | |
unit-test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
name: Run unit tests | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 5 | |
steps: | |
- name: "Checkout repository" | |
uses: actions/checkout@v4 | |
- name: "Setup node" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: "Install dependencies" | |
uses: bahmutov/npm-install@v1 | |
- name: "Run tests" | |
run: npm run test --if-present | |
lint: | |
name: Ensure code standards | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: "Checkout repostiory" | |
uses: actions/checkout@v4 | |
- name: "Setup node" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: "Install dependencies" | |
uses: bahmutov/npm-install@v1 | |
- name: "Lint code" | |
run: npm run lint --if-present |