From 584d8cbc4404863a971b8bc77b7850247324a4d4 Mon Sep 17 00:00:00 2001 From: Matt Gardner Date: Mon, 8 Feb 2021 19:32:27 -0500 Subject: [PATCH] Add GH actions test workflow --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..4e22cb7 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: Build + +on: + push: + branches: + - master + - develop + pull_request: + +jobs: + test: + name: Tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 10.x + - name: install dependencies + run: yarn install --frozen-lockfile --non-interactive + - name: build + env: + DISABLE_SOURCE_MAPS: true + BROCCOLI_ENV: production + run: yarn ember build -prod + - name: test + run: yarn test