name: Tests
on: [pull_request]
jobs:
unit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18.17.0"
- name: Install
run: npm install
- name: Test
run: npm test