chore: implement basic tests
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
23
.github/workflows/js-unit-tests.yml
vendored
Normal file
23
.github/workflows/js-unit-tests.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: JS Unit Tests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6.0.2
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v6.2.0
|
||||
with:
|
||||
node-version: '24'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run tests
|
||||
run: npm run test:unit
|
||||
Reference in New Issue
Block a user