Create npm-grunt.yml

step.if
.gitignore
Release.txt
with.files
This commit is contained in:
Pawaris2732 2024-12-13 06:30:21 +07:00 committed by GitHub
parent 7b4da11513
commit d16e55344e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

28
.github/workflows/npm-grunt.yml vendored Normal file
View file

@ -0,0 +1,28 @@
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