From 817cfccdfc05254a65e865b9f426d8d6bba9b6c3 Mon Sep 17 00:00:00 2001 From: Cameron Clough Date: Sat, 8 Jan 2022 22:05:27 +0000 Subject: [PATCH] add GitHub Actions workflow --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 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..8c8f512 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,17 @@ +name: CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 16 + cache: 'npm' + - run: npm install + - run: npm run lint +# TODO: re-add tests when it doesn't start the server 🤡 +# - run: npm test