From 060d7c19bae25cab17c19f87b6b9b3041bceffb9 Mon Sep 17 00:00:00 2001 From: Vahn Gomes Date: Mon, 20 Nov 2023 21:47:33 -0500 Subject: [PATCH] Add Node.js CI workflow --- .github/workflows/test.yml | 17 +++++++++++++++++ 1 file changed, 17 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..c0b579a --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,17 @@ +name: Node.js CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: "18.x" + - run: npm ci + - run: npm run build --if-present + - run: npm test