integration ts-sdk 0.2.0-alpha-13 #12
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 Vesting (with Nix) | |
run: | | |
nix build .#marlowe-vesting -L | |
- name: Build Marlowe Vesting (inside nix develop) | |
run: | | |
nix develop --command bash -c 'npm install && npm run build' |