From be9b21a6932ff03e6f80c0df9243a6c83df18d09 Mon Sep 17 00:00:00 2001 From: Daniel Vandal Date: Mon, 10 Feb 2020 15:50:55 -0500 Subject: [PATCH] Cleanup. --- .github/workflows/beautify-workflow.yml | 36 ------------------------- .github/workflows/scripts/install.sh | 9 ------- 2 files changed, 45 deletions(-) delete mode 100644 .github/workflows/beautify-workflow.yml delete mode 100644 .github/workflows/scripts/install.sh diff --git a/.github/workflows/beautify-workflow.yml b/.github/workflows/beautify-workflow.yml deleted file mode 100644 index 4f9ed82..0000000 --- a/.github/workflows/beautify-workflow.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Node.js CI - -on: - push: - branches: - - payment-abstractions - -jobs: - build: - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [10.x] - - steps: - - uses: actions/checkout@v2 -# - name: Install Dependecies -# run: | -# chmod +x .github/workflows/script/install.sh -# .github/workflows/script/install.sh - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: npm -g install js-beautify - - name: Beautify - run: | - chmod +x .github/workflows/scripts/install.sh - .github/workflows/scripts/install.sh - - run: npm install - - run: npm run build --if-present - - run: npm test - env: - CI: true diff --git a/.github/workflows/scripts/install.sh b/.github/workflows/scripts/install.sh deleted file mode 100644 index 81237f2..0000000 --- a/.github/workflows/scripts/install.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -sudo apt-get update -sudo apt -y install build-essential curl cmake pkg-config libboost-all-dev libssl-dev libzmq3-dev libunbound-dev libsodium-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev doxygen graphviz libpgm-dev libudev-dev libusb-1.0-0-dev libhidapi-dev protobuf-compiler libprotobuf-dev xsltproc gperf autoconf automake libtool-bin libprotobuf-c-dev - -# json files -js-beautify $(find . -type f -name '*.json') -t -n --space-after-named-function --space-after-anon-function -B --good-stuff - -# javascript, html and css files -js-beautify $(find . -type f -name '*.js') $(find . -type f -name '*.html') $(find . -type f -name '*.css') -t -n --space-after-named-function --space-after-anon-function -B --good-stuff