tangled
alpha
login
or
join now
eldridge.cam
/
cartography
0
fork
atom
Trading card city builder game?
0
fork
atom
overview
issues
pulls
pipelines
add another workflow
eldridge.cam
2 months ago
942a2681
eb9b9d78
0/2
gleam-ci.yaml
failed
1m 15s
svelte-ci.yaml
failed
1m 27s
+40
-5
2 changed files
expand all
collapse all
unified
split
.tangled
workflows
gleam-ci.yaml
svelte-ci.yaml
+4
-5
.tangled/workflows/gleam-ci.yaml
reviewed
···
4
4
5
5
engine: "nixery"
6
6
7
7
-
clone:
8
8
-
skip: false
9
9
-
depth: 1
10
10
-
submodules: false
11
11
-
12
7
dependencies:
13
8
nixpkgs:
14
9
- gleam
15
10
- rebar3
16
11
17
12
steps:
13
13
+
- name: "Install dependencies"
14
14
+
command: |
15
15
+
cd server
16
16
+
gleam deps download
18
17
- name: "Gleam format"
19
18
command: |
20
19
cd server
+36
.tangled/workflows/svelte-ci.yaml
reviewed
···
1
1
+
when:
2
2
+
- event: ["push"]
3
3
+
branch: ["*"]
4
4
+
5
5
+
engine: "nixery"
6
6
+
7
7
+
dependencies:
8
8
+
nixpkgs:
9
9
+
- gleam
10
10
+
- rebar3
11
11
+
- nodejs
12
12
+
13
13
+
environment:
14
14
+
PUBLIC_SERVER_URL: "http://localhost:4000"
15
15
+
PUBLIC_SERVER_WS_URL: "ws://localhost:4000"
16
16
+
17
17
+
steps:
18
18
+
- name: "Install node modules"
19
19
+
command: |
20
20
+
npm ci
21
21
+
npx svelte-kit sync
22
22
+
- name: "Run prettier"
23
23
+
command: |
24
24
+
npx prettier . --check
25
25
+
- name: "Run eslint"
26
26
+
command: |
27
27
+
npx eslint . --max-warnings 0
28
28
+
- name: "Run svelte-check"
29
29
+
command: |
30
30
+
npx svelte-check --tsconfig ./tsconfig.json
31
31
+
- name: "Build"
32
32
+
command: |
33
33
+
npx vite build
34
34
+
- name: "Run tests"
35
35
+
run: |
36
36
+
npm test