Add a test (#77)

* Match Prettier style

This way, people who have Prettier as their default formatter in their Editor (probably the majority of people) will not have the code re-formatted to double quotes if they are saving

* Add trailing-comma option

* Instruct .vscode to use ESLint as a default formatter

* Discard changes to package.json

* Add a first test

* Setup CI

* Rename to test

* move tsconfig hacks to local tsconfig.json

* Better test title

* rename file

* Fix ts setup
This commit is contained in:
Jonny Burger
2025-08-27 09:12:49 +02:00
committed by GitHub
parent 7f8770de99
commit 0e6cddc941
7 changed files with 570 additions and 20 deletions
+25
View File
@@ -0,0 +1,25 @@
name: Test
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test