From eeb758a71be7e4aae249ece3ee65c447e4837d25 Mon Sep 17 00:00:00 2001 From: Luke Peavey Date: Mon, 16 Nov 2020 08:36:48 -0500 Subject: [PATCH] chore: setup CI workflow Add a basic CI workflow to build and test code with Github Actions. --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..0b3ef20 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +# @see https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: CI + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: 14.x + - run: yarn install + - run: yarn run build + - run: yarn test + env: + CI: true