From e1d70e3d7e686a7bddc7ddaa36d016083abc7ace Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD=20=D0=96=D0=B5=D0=BA=D0=BE=D0=B2?= Date: Fri, 20 Sep 2019 14:48:45 +0300 Subject: [PATCH] chore(build): try out github actions --- .github/workflows/branch_push_workflow.yml | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/branch_push_workflow.yml diff --git a/.github/workflows/branch_push_workflow.yml b/.github/workflows/branch_push_workflow.yml new file mode 100644 index 00000000000..b5eb7aaee53 --- /dev/null +++ b/.github/workflows/branch_push_workflow.yml @@ -0,0 +1,35 @@ +name: Branch push + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [8.x, 10.x, 12.x] + + steps: + - name: Checkout branch + uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Install + run: | + npm install + npx lerna bootstrap --concurrency=1 + - name: Lint + run: npx lerna run lint + - name: Build + run: | + npx lerna run sass + npx lerna run dart + - name: Test + run: | + npm run karma-single + env: + CI: true