Skip to content

Commit b8310fb

Browse files
Christian KellnerChristian Kellner
authored andcommitted
adding tests
1 parent f74f56b commit b8310fb

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [master]
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: '22'
17+
cache: 'npm'
18+
19+
- name: Install dependencies
20+
run: npm ci
21+
22+
- name: Run tests
23+
run: npm test
24+
env:
25+
NODE_ENV: test
26+
# Skip the 900 ms minimum response delay in CI to keep the suite fast.
27+
AUTH_MIN_RESPONSE_MS: 0

0 commit comments

Comments
 (0)