From e200f4f0c1ffef265a114f90190f2a252f0cd106 Mon Sep 17 00:00:00 2001 From: gnarargs Date: Sun, 18 Feb 2024 09:35:54 -0800 Subject: [PATCH] add basic workflow --- .github/workflows/ci.yml | 16 ++++++++++++++++ README.md | 2 ++ 2 files changed, 18 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..8cb4182 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +name: CI + +on: push + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc + - name: Install dependencies + run: npm ci + - name: Run tests + run: npm run test diff --git a/README.md b/README.md index 28dd837..79826f9 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,5 @@ Starter template for JavaScript apps - .nvmrc - TypeScript +- Jest +- GitHub Actions Workflow