-
Notifications
You must be signed in to change notification settings - Fork 0
75 lines (73 loc) · 1.95 KB
/
check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: Check
on: ["push", "pull_request"]
jobs:
gateway:
runs-on: depot-ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
nix_path: &nix_path nixpkgs=https://github.com/nixos/nixpkgs/archive/df7cef32c3494ca95363e119160be6960022b0fd.tar.gz
- uses: workflow/nix-shell-action@v3
with:
packages: bun
working-directory: ./services/gateway
script: |
bun install
bun run check
web:
runs-on: depot-ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
nix_path: *nix_path
- uses: workflow/nix-shell-action@v3
with:
packages: node
working-directory: ./apps/web
script: |
npm ci
npm run check
web-next:
runs-on: depot-ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
nix_path: *nix_path
- uses: workflow/nix-shell-action@v3
with:
packages: bun
working-directory: ./apps/web-next
script: |
bun install
bun run check
scripts:
runs-on: depot-ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
nix_path: *nix_path
- uses: workflow/nix-shell-action@v3
with:
packages: node
working-directory: ./scripts
script: |
npm ci
npm run check
gateway-test:
runs-on: depot-ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
nix_path: *nix_path
- uses: workflow/nix-shell-action@v3
with:
packages: bun
working-directory: ./services/gateway
script: |
bun install
bun run test