Skip to content

Commit b198da0

Browse files
committed
Add tests
1 parent c5450ac commit b198da0

File tree

8 files changed

+5980
-0
lines changed

8 files changed

+5980
-0
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,10 @@ updates:
1313
interval: weekly
1414
cooldown:
1515
default-days: 7
16+
- package-ecosystem: npm
17+
directory: /
18+
schedule:
19+
interval: "weekly"
20+
day: "monday"
21+
time: "12:00"
22+
timezone: "Europe/Oslo" # hipp hipp hurra

.github/workflows/test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,21 @@ permissions:
1919
contents: read
2020

2121
jobs:
22+
vitest:
23+
runs-on: macos-latest
24+
steps:
25+
- uses: actions/checkout@v6
26+
- uses: actions/setup-node@v6
27+
with:
28+
node-version-file: .nvmrc
29+
cache: npm
30+
- name: Install Node dependencies
31+
run: npm ci
32+
- run: npm test
33+
- uses: codecov/codecov-action@v5
34+
with:
35+
token: ${{ secrets.CODECOV_TOKEN }}
36+
flags: javascript
2237
mysql:
2338
runs-on: ubuntu-latest
2439
strategy:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ venv
1717
.envrc
1818
.venv
1919
.vscode
20+
21+
# Node
22+
node_modules/
23+
coverage/

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/*

0 commit comments

Comments
 (0)