mirror of
https://github.com/appwrite/console.git
synced 2026-04-07 19:17:46 +00:00
569eded47c
update: merge `main`.
40 lines
863 B
YAML
40 lines
863 B
YAML
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
|