PLT-7225 set api call for config json needed for dynamic setting of m… #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
install_url: https://releases.nixos.org/nix/nix-2.16.0/install | |
extra_nix_config: | | |
extra-trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= | |
extra-substituters = https://cache.iog.io | |
experimental-features = nix-command flakes | |
- name: Build Nix Shell | |
run: | | |
nix build .#devShells.x86_64-linux.default | |
- name: Build Marlowe Payouts (with Nix) | |
run: | | |
nix build .#marlowe-payouts -L | |
- name: Build Marlowe Payouts (inside nix develop) | |
run: | | |
nix develop --command bash -c 'npm install && npm run build' |