From 18aba135ab927ffe7f868ee09276979bed6993a6 Mon Sep 17 00:00:00 2001 From: Iskren Ivov Chernev Date: Sun, 18 Feb 2024 14:35:45 +0200 Subject: [PATCH] Create npm-grunt.yml (#6209) Add github actions to run tests against develop and PRs --- .github/workflows/npm-grunt.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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 0000000000..fbba302f90 --- /dev/null +++ b/.github/workflows/npm-grunt.yml @@ -0,0 +1,29 @@ +name: NodeJS with Grunt + +on: + push: + branches: [ "develop" ] + pull_request: + branches: [ "develop" ] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x, 16.x, 18.x] + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Build + run: | + npm install + grunt +