diff --git a/.github/workflows/auto-build.yml b/.github/workflows/auto-build.yml new file mode 100644 index 00000000..6abb1f10 --- /dev/null +++ b/.github/workflows/auto-build.yml @@ -0,0 +1,21 @@ +name: Rath Auto Build +on: + push: + branches: [master, dev] + pull_request: + branches: [master, dev] +jobs: + auto-build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [12.x, 14.x] + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: yarn install + - run: yarn workspace @kanaries/graphic-walker build + - run: yarn workspace rath-client build \ No newline at end of file diff --git a/README.md b/README.md index 03463256..b5a102f3 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ![](https://img.shields.io/twitter/follow/kanaries_data?style=social) ![](https://img.shields.io/badge/license-AGPL-brightgreen) ![](https://img.shields.io/github/stars/kanaries/rath?color=%23ff85c0) -![](https://img.shields.io/travis/kanaries/rath) +![](https://img.shields.io/github/workflow/status/kanaries/rath/Rath%20Auto%20Build) logo