From 2cea1bb7d9fc416ce2cfcdec3cd74ef352a2f5e9 Mon Sep 17 00:00:00 2001 From: poma Date: Tue, 2 Feb 2021 16:04:59 +0300 Subject: [PATCH] CI --- .github/workflows/build.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..c4c8fda --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,31 @@ +name: build + +on: + push: + branches: ['*'] + tags: ['v[0-9]+.[0-9]+.[0-9]+'] + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 + - run: yarn install + - run: cargo install zkutil + - run: yarn circuit + - run: yarn test + - run: yarn lint +# - name: Telegram Failure Notification +# uses: appleboy/telegram-action@0.0.7 +# if: failure() +# with: +# message: ❗ Build failed for [${{ github.repository }}](https://github.com/${{ github.repository }}/actions) because of ${{ github.actor }} +# format: markdown +# to: ${{ secrets.TELEGRAM_CHAT_ID }} +# token: ${{ secrets.TELEGRAM_BOT_TOKEN }} +