feat(documents): prevent duplicate document uploads within an organiz… #227
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: CI - App Server | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
ci-apps-papra-server: | |
name: CI - Papra Server | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: apps/papra-server | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm i --frozen-lockfile | |
- name: Run linters | |
run: pnpm lint | |
- name: Type check | |
run: pnpm typecheck | |
- name: Run unit test | |
run: pnpm test | |
- name: Build the app | |
run: pnpm build |