From 12ff8e7b812d7e5a520738638babfb0dc946db77 Mon Sep 17 00:00:00 2001 From: Russell Date: Tue, 5 Nov 2019 20:37:46 -0800 Subject: [PATCH 1/2] Added backend workflow --- .../Continuous_Integration_Backend.yml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/Continuous_Integration_Backend.yml diff --git a/.github/workflows/Continuous_Integration_Backend.yml b/.github/workflows/Continuous_Integration_Backend.yml new file mode 100644 index 000000000..94c485494 --- /dev/null +++ b/.github/workflows/Continuous_Integration_Backend.yml @@ -0,0 +1,26 @@ +name: Dev_CI_Backend +on: + push: + branches-ignore: + - master + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [10.x, 11.x] + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Install Packages + run: npm install + - name: Build project + run: npm run-script build + - name: Run Tests + run: export CI=true && npm run test -- --coverage + env: + MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }} From 47f1492fc35b98d1765d3764581e8de3d5d11b46 Mon Sep 17 00:00:00 2001 From: Russell Date: Tue, 5 Nov 2019 20:40:47 -0800 Subject: [PATCH 2/2] Rename CI for frontend --- ...uous_Integration.yml => Continuous_Integration_Frontend.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{Continuous_Integration.yml => Continuous_Integration_Frontend.yml} (96%) diff --git a/.github/workflows/Continuous_Integration.yml b/.github/workflows/Continuous_Integration_Frontend.yml similarity index 96% rename from .github/workflows/Continuous_Integration.yml rename to .github/workflows/Continuous_Integration_Frontend.yml index a49bf29d2..f42113f80 100644 --- a/.github/workflows/Continuous_Integration.yml +++ b/.github/workflows/Continuous_Integration_Frontend.yml @@ -1,4 +1,4 @@ -name: Dev_CI +name: Dev_CI_Frontend on: push: branches-ignore: