From 2ff8e46622383237b099746ac2c23060ba5d03b7 Mon Sep 17 00:00:00 2001 From: John Darryl Date: Fri, 4 Dec 2020 15:27:55 +0100 Subject: [PATCH] feat: add workflow to test app --- .github/workflows/test-application.yml | 23 +++++++++++++++++++++++ docs/TODOS.md | 1 - 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/test-application.yml diff --git a/.github/workflows/test-application.yml b/.github/workflows/test-application.yml new file mode 100644 index 0000000..b2bfd5c --- /dev/null +++ b/.github/workflows/test-application.yml @@ -0,0 +1,23 @@ +name: Test Application + +on: + push: + branches: + - master + pull_request: + types: [opened, reopened, synchronize] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - name: Use Node 14 + uses: actions/setup-node@v2.1.2 + with: + node-version: 14 + - name: Install dependencies with yarn + run: yarn install --frozen-lockfile + - name: Run test command + run: yarn test diff --git a/docs/TODOS.md b/docs/TODOS.md index 72a32e7..b81dd5f 100644 --- a/docs/TODOS.md +++ b/docs/TODOS.md @@ -2,4 +2,3 @@ - add stylelint configuration - add css reset -- add action for testing linting and prettiering on push