Add metric to track how many times is each key requested #52
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
testing: | |
name: Testing on Node v${{ matrix.node }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [22, 20] | |
steps: | |
- name: Checking out | |
uses: actions/checkout@v4 | |
- name: Use Node.js v${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "npm" | |
- name: Install NPM dependencies | |
run: npm ci | |
- name: Check lint | |
run: npm run lint | |
- name: Check build | |
run: npm run build | |
- name: Run NPM tests | |
run: npm run test |