Conversation
First card 21082025
|
Thanks for adding the npm-grunt.yml workflow! This is a great first step toward automating your build process. A few suggestions to ensure it runs smoothly: · Confirm that the package.json includes the necessary Grunt scripts (e.g., grunt test) and that Grunt is listed as a dev dependency. Let me know if you need help tweaking the file—happy to review again once updates are pushed! |
navedjuwale-creator
left a comment
There was a problem hiding this comment.
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]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npx grunt test
First card 21082025