Separate build and deployment sizes #4201
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- 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 |