name: Tests on: pull_request: branches: ['**'] paths-ignore: - '**/*.md' - 'static/**/*' env: PUBLIC_CONSOLE_PROFILE: 'default' PUBLIC_APPWRITE_ENDPOINT: http://appwrite.test/v1 PUBLIC_AI_SERVICE_BASE_URL: 'http://appwrite.test/v1' PUBLIC_API_BASE_URL: 'http://appwrite.test/v1' PUBLIC_REALTIME_URI: 'ws://appwrite.test/graphql' PUBLIC_APPWRITE_SITES_BASE_URL: 'https://appwrite.network' jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Use Node.js uses: actions/setup-node@v3 with: node-version: 22 - name: Install pnpm uses: pnpm/action-setup@v4 - name: Audit dependencies run: pnpm audit --audit-level high - name: Install dependencies run: pnpm install --frozen-lockfile - name: Svelte Diagnostics run: pnpm run check - name: Linter run: pnpm run lint - name: Unit Tests run: pnpm run test - name: Build Console run: pnpm run build env: NODE_OPTIONS: --max-old-space-size=8192