added templates for gulp + grunt + webpack

This commit is contained in:
Ninad Kavimandan
2021-06-24 10:51:42 +05:30
parent 81295d6e71
commit 3bb230a79a
6 changed files with 100 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
name: Grunt CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: {{{ matrix.node-version }}}
- name: npm install, build
run: |
npm install
grunt
+27
View File
@@ -0,0 +1,27 @@
name: Gulp CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: {{{ matrix.node-version }}}
- name: npm install, build
run: |
npm install
gulp
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Grunt",
"description": "Build a Grunt project with npm.",
"iconName": "nodejs",
"categories": ["JavaScript", "npm", "Grunt"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Gulp",
"description": "Build a Gulp project with npm.",
"iconName": "nodejs",
"categories": ["JavaScript", "npm", "Gulp"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Webpack",
"description": "Build a Webpack project with npm.",
"iconName": "nodejs",
"categories": ["JavaScript", "npm", "Webpack"]
}
+28
View File
@@ -0,0 +1,28 @@
name: Webpack CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: {{{ matrix.node-version }}}
- name: npm install, build
run: |
npm install -g webpack webpack-cli --save-dev
npm install
npx webpack