samantha's personal website!~ ✨ samanthanguyen.me

ci: add spindle CI workflows

authored by samanthanguyen.me and committed by tangled.org 17349229 73279904

+77
+18
.tangled/workflows/codeqa-fmt.yml
··· 1 + when: 2 + - event: ['push', 'pull_request'] 3 + branch: ['main'] 4 + 5 + engine: 'nixery' 6 + 7 + dependencies: 8 + nixpkgs: 9 + - coreutils 10 + - gnused 11 + - nodejs_24 12 + - pnpm 13 + 14 + steps: 15 + - name: Install dependencies 16 + command: pnpm install --frozen-lockfile 17 + - name: Run formatter checks 18 + command: pnpm run fmt-ci
+18
.tangled/workflows/codeqa-lint.yml
··· 1 + when: 2 + - event: ['push', 'pull_request'] 3 + branch: ['main'] 4 + 5 + engine: 'nixery' 6 + 7 + dependencies: 8 + nixpkgs: 9 + - coreutils 10 + - gnused 11 + - nodejs_24 12 + - pnpm 13 + 14 + steps: 15 + - name: Install dependencies 16 + command: pnpm install --frozen-lockfile 17 + - name: Run linter checks 18 + command: pnpm run lint
+20
.tangled/workflows/deploy-preview.yml
··· 1 + when: 2 + - event: ["pull_request", "manual"] 3 + branch: ["main"] 4 + 5 + engine: "nixery" 6 + 7 + dependencies: 8 + nixpkgs: 9 + - coreutils 10 + - gnused 11 + - nodejs_24 12 + - pnpm 13 + 14 + steps: 15 + - name: Install dependencies 16 + command: pnpm install --frozen-lockfile 17 + - name: Build packages 18 + command: pnpm run build 19 + - name: Deploy (preview) 20 + command: pnpx wrangler versions upload
+20
.tangled/workflows/deploy-prod.yml
··· 1 + when: 2 + - event: ["push", "manual"] 3 + branch: ["main"] 4 + 5 + engine: "nixery" 6 + 7 + dependencies: 8 + nixpkgs: 9 + - coreutils 10 + - gnused 11 + - nodejs_24 12 + - pnpm 13 + 14 + steps: 15 + - name: Install dependencies 16 + command: pnpm install --frozen-lockfile 17 + - name: Build packages 18 + command: pnpm run build 19 + - name: Deploy (production) 20 + command: pnpx wrangler deploy
+1
package.json
··· 8 8 "build": "pnpm --filter './app' build", 9 9 "preview": "pnpm --filter './app' preview", 10 10 "fmt": "oxfmt", 11 + "fmt-ci": "oxfmt --check", 11 12 "lint": "oxlint .", 12 13 "fix": "oxlint . --fix" 13 14 },