From 05bcfe3899116b866ad1d47b492c4a906a500602 Mon Sep 17 00:00:00 2001 From: Robert Buj Date: Thu, 23 Jan 2025 10:46:51 +0100 Subject: [PATCH] Create node.js.yml --- .github/workflows/node.js.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..c4f1391 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,22 @@ +name: Node.js CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: '18.x' + - name: Install dependencies + run: npm ci + - run: npm run build