6e6c355a3f
* Add tests for internal linking * Add workflow for unit tests * Use jest
21 lines
344 B
YAML
21 lines
344 B
YAML
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
|