-
Notifications
You must be signed in to change notification settings - Fork 2
26 lines (26 loc) · 1013 Bytes
/
ci.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
name: "CI"
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: "Check out from version control"
- uses: cachix/install-nix-action@v13
name: "Install Nix"
with:
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
extra_nix_config: |
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v10
name: "Connect to cachix"
with:
name: moosingin3space
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix develop -c yarn
name: "Install yarn dependencies"
- run: nix develop -c yarn build
name: "Build extension"