We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0547501 commit fcfb6c1Copy full SHA for fcfb6c1
1 file changed
.github/workflows/test.yaml
@@ -0,0 +1,38 @@
1
+name: Test Workflow
2
+
3
+on:
4
+ # push:
5
+ # branches: [main]
6
+ # pull_request:
7
8
+ workflow_dispatch:
9
10
+jobs:
11
+ test:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v5
16
17
+ - name: Install pnpm
18
+ uses: pnpm/action-setup@v5
19
+ with:
20
+ version: 10
21
22
+ - name: Use Node.js
23
+ uses: actions/setup-node@v5
24
25
+ node-version: 24.14.0
26
+ cache: 'pnpm'
27
28
+ - name: Install Dependencies
29
+ run: pnpm i
30
31
+ - name: Generate SvelteKit config
32
+ run: pnpm svelte-kit sync
33
34
+ - name: Update and Test database
35
+ env:
36
+ DB_URL: file:database/local.db
37
+ DB_VISITS_URL: file:database/visits.db
38
+ run: pnpm db:update
0 commit comments