From c561b192cd016b504d866e3aca8e99d32615097c Mon Sep 17 00:00:00 2001 From: Steve Grosbois Date: Tue, 2 Jan 2024 12:22:55 +0100 Subject: [PATCH] chore: Added automated testing on github workflow --- .github/workflows/test.yml | 18 ++++++++++++++++++ 1 file changed, 18 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..81413dd --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,18 @@ +name: Build and publish image to Docker Packages + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + 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