tangled
alpha
login
or
join now
samanthanguyen.me
/
www
0
fork
atom
samantha's personal website!~ ✨
samanthanguyen.me
0
fork
atom
overview
issues
1
pulls
pipelines
ci: add spindle CI workflows
samanthanguyen.me
2 months ago
bee8100a
73279904
2/3
codeqa-fmt.yml
failed
16s
codeqa-lint.yml
success
16s
deploy-preview.yml
success
43s
+77
5 changed files
expand all
collapse all
unified
split
.tangled
workflows
codeqa-fmt.yml
codeqa-lint.yml
deploy-preview.yml
deploy-prod.yml
package.json
+18
.tangled/workflows/codeqa-fmt.yml
reviewed
···
1
1
+
when:
2
2
+
- event: ['push', 'pull_request']
3
3
+
branch: ['main']
4
4
+
5
5
+
engine: 'nixery'
6
6
+
7
7
+
dependencies:
8
8
+
nixpkgs:
9
9
+
- coreutils
10
10
+
- gnused
11
11
+
- nodejs_24
12
12
+
- pnpm
13
13
+
14
14
+
steps:
15
15
+
- name: Install dependencies
16
16
+
command: pnpm install --frozen-lockfile
17
17
+
- name: Run formatter checks
18
18
+
command: pnpm run fmt-ci
+18
.tangled/workflows/codeqa-lint.yml
reviewed
···
1
1
+
when:
2
2
+
- event: ['push', 'pull_request']
3
3
+
branch: ['main']
4
4
+
5
5
+
engine: 'nixery'
6
6
+
7
7
+
dependencies:
8
8
+
nixpkgs:
9
9
+
- coreutils
10
10
+
- gnused
11
11
+
- nodejs_24
12
12
+
- pnpm
13
13
+
14
14
+
steps:
15
15
+
- name: Install dependencies
16
16
+
command: pnpm install --frozen-lockfile
17
17
+
- name: Run linter checks
18
18
+
command: pnpm run lint
+20
.tangled/workflows/deploy-preview.yml
reviewed
···
1
1
+
when:
2
2
+
- event: ["pull_request", "manual"]
3
3
+
branch: ["main"]
4
4
+
5
5
+
engine: "nixery"
6
6
+
7
7
+
dependencies:
8
8
+
nixpkgs:
9
9
+
- coreutils
10
10
+
- gnused
11
11
+
- nodejs_24
12
12
+
- pnpm
13
13
+
14
14
+
steps:
15
15
+
- name: Install dependencies
16
16
+
command: pnpm install --frozen-lockfile
17
17
+
- name: Build packages
18
18
+
command: pnpm run build
19
19
+
- name: Deploy (preview)
20
20
+
command: pnpx wrangler versions upload
+20
.tangled/workflows/deploy-prod.yml
reviewed
···
1
1
+
when:
2
2
+
- event: ["push", "manual"]
3
3
+
branch: ["main"]
4
4
+
5
5
+
engine: "nixery"
6
6
+
7
7
+
dependencies:
8
8
+
nixpkgs:
9
9
+
- coreutils
10
10
+
- gnused
11
11
+
- nodejs_24
12
12
+
- pnpm
13
13
+
14
14
+
steps:
15
15
+
- name: Install dependencies
16
16
+
command: pnpm install --frozen-lockfile
17
17
+
- name: Build packages
18
18
+
command: pnpm run build
19
19
+
- name: Deploy (production)
20
20
+
command: pnpx wrangler deploy
+1
package.json
reviewed
···
8
8
"build": "pnpm --filter './app' build",
9
9
"preview": "pnpm --filter './app' preview",
10
10
"fmt": "oxfmt",
11
11
+
"fmt-ci": "oxfmt --check",
11
12
"lint": "oxlint .",
12
13
"fix": "oxlint . --fix"
13
14
},