From 5e7f295775495d65339ccb091d6439fa32792429 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Thu, 17 Aug 2023 21:11:46 -0700 Subject: [PATCH] Add GitHub Actions workflow --- .github/workflows/build.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..37341787f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,27 @@ +on: + push: + branches: + - master + pull_request: + branches: + - master + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-node@v2 + with: + node-version: 18 + cache: 'npm' + + - name: Install dependencies + run: npm install + + - name: Run tests + run: npm test