From f9ce69ee5f395b47c02a294874abfd50c8c04471 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Wed, 3 Feb 2021 18:03:51 +0100 Subject: [PATCH] add PR workflow --- .github/workflows/pr.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 00000000..5ba3c799 --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,17 @@ +name: Pull request tests + +on: [pull_request] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - uses: actions/setup-node@v2 + with: + node-version: 14 + + - run: yarn + - run: npm run lint