From b5c8e8c8de076cf9b4d796111855078034f8a093 Mon Sep 17 00:00:00 2001 From: Michael Ficarra Date: Fri, 5 Jan 2024 12:23:26 -0700 Subject: [PATCH] add CI --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..5b26ca9 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Build + run: > + npm ci && + npm run build + - name: Test + run: npm test