Bump json-schema and jsprim in /app #23
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] | |
jobs: | |
build-test: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 12.x | |
- name: Install Oasis | |
run: curl --proto '=https' --tlsv1.2 -sSL https://get.oasis.dev | python - --speedrun --toolchain unstable | |
- name: Lint | |
run: | | |
pushd app | |
npm install | |
npm run-script lint | |
popd | |
- name: Build and test service | |
run: | | |
export PATH=~/.local/bin:-~/.cargo/bin:$PATH | |
export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib:$LD_LIBRARY_PATH | |
oasis build | |
oasis chain & | |
oasis test |