From f4a39a27abdf1de12ad82c30022a6c42f0997163 Mon Sep 17 00:00:00 2001 From: Jay Danielsen Date: Thu, 29 Aug 2024 08:16:09 -0400 Subject: [PATCH] Add npm install + grunt --- .github/workflows/npm-grunt.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/npm-grunt.yaml diff --git a/.github/workflows/npm-grunt.yaml b/.github/workflows/npm-grunt.yaml new file mode 100644 index 0000000..8c6d59d --- /dev/null +++ b/.github/workflows/npm-grunt.yaml @@ -0,0 +1,29 @@ +name: NodeJS with Grunt + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +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 +