From 83193a5f1588864066e8f94bee1a53c1d626b6d0 Mon Sep 17 00:00:00 2001 From: kavinesquire-lgtm Date: Wed, 22 Oct 2025 05:49:02 -0400 Subject: [PATCH] Add CI workflow for Node's with Grunt support This workflow automates the build process for Node j.s projects using Grunt across multiple Node j.s versions. --- .github/workflows/npm-grunt.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/npm-grunt.yml diff --git a/.github/workflows/npm-grunt.yml b/.github/workflows/npm-grunt.yml new file mode 100644 index 000000000000..5ef7a9ae1d1d --- /dev/null +++ b/.github/workflows/npm-grunt.yml @@ -0,0 +1,28 @@ +name: NodeJS with Grunt + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x, 20.x, 22.x] + + steps: + - uses: actions/checkout@v4 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + + - name: Build + run: | + npm install + grunt