-
Notifications
You must be signed in to change notification settings - Fork 4
36 lines (27 loc) · 872 Bytes
/
Copy pathci.yaml
File metadata and controls
36 lines (27 loc) · 872 Bytes
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
name: CI
on:
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-latest
defaults:
run:
shell: nix develop --command bash {0}
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: DeterminateSystems/nix-installer-action@3138316df39ed29be04236d7ffc686fa525866aa # v23
- uses: DeterminateSystems/magic-nix-cache-action@84c0677f58dcedf3b91f8223ce36a9ea5b3c84b7 # v15
- uses: DeterminateSystems/flake-checker-action@786422608c7bded2bbc9741ad9f91356842bf520 # v14
- name: Install dependencies
run: yarn install --immutable
- name: Audit
run: just audit
- name: Lint
run: just lint
- name: Test
run: just test
- name: Type Check
run: yarn tsc
- name: Build
run: yarn build