forked from appwrite/console
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 863 Bytes
/
tests.yml
File metadata and controls
39 lines (30 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Tests
on:
pull_request:
branches: ['**']
paths-ignore:
- '**/*.md'
- 'static/**/*'
env:
PUBLIC_APPWRITE_ENDPOINT: http://appwrite.test/v1
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.8
- name: Audit dependencies
run: bun audit --audit-level high
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Svelte Diagnostics
run: bun check
- name: Linter
run: bun lint
- name: Unit Tests
run: bun test:unit
- name: Build Console
run: bun run build