Skip to content

Fix/new applet api and renamings #176

Fix/new applet api and renamings

Fix/new applet api and renamings #176

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on: [push, pull_request]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build-and-test:
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v2
- uses: cachix/install-nix-action@v18
with:
install_url: https://releases.nixos.org/nix/nix-2.12.0/install
extra_nix_config: |
experimental-features = flakes nix-command
- name: build holochain
run: |
nix-env -iA cachix -f https://cachix.org/api/v1/install
cachix use holochain-ci
cd $GITHUB_WORKSPACE
nix-shell . --run "npm i && npm run build:happ"
- name: test holochain
run: |
cd $GITHUB_WORKSPACE
nix-shell . --run "npm ci && npm run test"
- name: build & package UI
run: |
cd $GITHUB_WORKSPACE
nix-shell . --run "npm run package"