From eed5ef8364b35c131b6a56a9e2a407def78963c0 Mon Sep 17 00:00:00 2001 From: BPierrick Date: Tue, 30 Nov 2021 14:35:50 +0100 Subject: [PATCH] ci: add github action app workflow --- .github/workflows/app.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/app.yml diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml new file mode 100644 index 0000000..f5ede0e --- /dev/null +++ b/.github/workflows/app.yml @@ -0,0 +1,28 @@ +name: app + +on: + push: + paths: + - "**" + branches: + - main + tags: + - "v*" + pull_request: + paths: + - "**" + +jobs: + lint-and-test: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + - name: Install modules + run: yarn + working-directory: . + - name: Run ESLint + run: yarn lint + working-directory: . + - name: Run tests + run: yarn test + working-directory: .