From 20239673a9a9d591fc4cabd9b86da6a0669781f4 Mon Sep 17 00:00:00 2001 From: Diana Thayer Date: Mon, 6 Jan 2025 21:06:46 -0800 Subject: [PATCH] add test action --- .github/workflows/test.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..b8b19b0 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,20 @@ +name: Build and Test + +on: [push] + +jobs: + test: + runs-on: [ubuntu-latest] + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install NodeJS + uses: dcodeIO/setup-node-nvm@master + with: + node-version: lts/* + + - run: npm i + + - name: Run tests + run: npm test