Skip to content

docs: added tests badge #2

docs: added tests badge

docs: added tests badge #2

name: Run Tests on `main`
on: [push]
jobs:
test-nodejs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["16.x", "18.x", "20.x"]
steps:
- uses: actions/checkout@v4
- name: Using Node.js ${{matrix.node-version}}
uses: actions/setup-node@v3
with:
node-version: ${{matrix.node-version}}
cache: yarn
- name: Install dependencies
run: yarn install
- name: Run tests
run: yarn test