From 3bb230a79aefd3eefa6b71545b43d0eef1b89b93 Mon Sep 17 00:00:00 2001 From: Ninad Kavimandan Date: Thu, 24 Jun 2021 10:51:42 +0530 Subject: [PATCH 1/5] added templates for gulp + grunt + webpack --- ci/grunt.yml | 27 ++++++++++++++++++++++++++ ci/gulp.yml | 27 ++++++++++++++++++++++++++ ci/properties/grunt.properties.json | 6 ++++++ ci/properties/gulp.properties.json | 6 ++++++ ci/properties/webpack.properties.json | 6 ++++++ ci/webpack.yml | 28 +++++++++++++++++++++++++++ 6 files changed, 100 insertions(+) create mode 100644 ci/grunt.yml create mode 100644 ci/gulp.yml create mode 100644 ci/properties/grunt.properties.json create mode 100644 ci/properties/gulp.properties.json create mode 100644 ci/properties/webpack.properties.json create mode 100644 ci/webpack.yml diff --git a/ci/grunt.yml b/ci/grunt.yml new file mode 100644 index 0000000..83464d1 --- /dev/null +++ b/ci/grunt.yml @@ -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 diff --git a/ci/gulp.yml b/ci/gulp.yml new file mode 100644 index 0000000..708f9b3 --- /dev/null +++ b/ci/gulp.yml @@ -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 diff --git a/ci/properties/grunt.properties.json b/ci/properties/grunt.properties.json new file mode 100644 index 0000000..b721ee4 --- /dev/null +++ b/ci/properties/grunt.properties.json @@ -0,0 +1,6 @@ +{ + "name": "Grunt", + "description": "Build a Grunt project with npm.", + "iconName": "nodejs", + "categories": ["JavaScript", "npm", "Grunt"] +} diff --git a/ci/properties/gulp.properties.json b/ci/properties/gulp.properties.json new file mode 100644 index 0000000..9e5b02e --- /dev/null +++ b/ci/properties/gulp.properties.json @@ -0,0 +1,6 @@ +{ + "name": "Gulp", + "description": "Build a Gulp project with npm.", + "iconName": "nodejs", + "categories": ["JavaScript", "npm", "Gulp"] +} diff --git a/ci/properties/webpack.properties.json b/ci/properties/webpack.properties.json new file mode 100644 index 0000000..4efd0b2 --- /dev/null +++ b/ci/properties/webpack.properties.json @@ -0,0 +1,6 @@ +{ + "name": "Webpack", + "description": "Build a Webpack project with npm.", + "iconName": "nodejs", + "categories": ["JavaScript", "npm", "Webpack"] +} diff --git a/ci/webpack.yml b/ci/webpack.yml new file mode 100644 index 0000000..d79e907 --- /dev/null +++ b/ci/webpack.yml @@ -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 From edd7400d76d8ff347b62a0c662070b5256564be1 Mon Sep 17 00:00:00 2001 From: Ninad Kavimandan Date: Thu, 24 Jun 2021 11:00:38 +0530 Subject: [PATCH 2/5] removed CI from the name --- ci/grunt.yml | 9 +++++---- ci/gulp.yml | 9 +++++---- ci/webpack.yml | 9 +++++---- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/ci/grunt.yml b/ci/grunt.yml index 83464d1..767e8fa 100644 --- a/ci/grunt.yml +++ b/ci/grunt.yml @@ -1,4 +1,4 @@ -name: Grunt CI +name: Grunt on: push: @@ -17,11 +17,12 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 with: - node-version: {{{ matrix.node-version }}} + node-version: ${{ matrix.node-version }} - - name: npm install, build + - name: Build run: | npm install grunt diff --git a/ci/gulp.yml b/ci/gulp.yml index 708f9b3..962d15f 100644 --- a/ci/gulp.yml +++ b/ci/gulp.yml @@ -1,4 +1,4 @@ -name: Gulp CI +name: Gulp on: push: @@ -17,11 +17,12 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 with: - node-version: {{{ matrix.node-version }}} + node-version: ${{ matrix.node-version }} - - name: npm install, build + - name: Build run: | npm install gulp diff --git a/ci/webpack.yml b/ci/webpack.yml index d79e907..eb85baf 100644 --- a/ci/webpack.yml +++ b/ci/webpack.yml @@ -1,4 +1,4 @@ -name: Webpack CI +name: Webpack on: push: @@ -17,11 +17,12 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 with: - node-version: {{{ matrix.node-version }}} + node-version: ${{ matrix.node-version }} - - name: npm install, build + - name: Build run: | npm install -g webpack webpack-cli --save-dev npm install From 5175c338194a0e9a233f37ccdef824a8b5e5732c Mon Sep 17 00:00:00 2001 From: Ninad Kavimandan Date: Tue, 20 Jul 2021 10:19:59 +0530 Subject: [PATCH 3/5] updated icons for gulp + grunt + webpack ci --- ci/properties/grunt.properties.json | 2 +- ci/properties/gulp.properties.json | 2 +- ci/properties/webpack.properties.json | 2 +- ci/webpack.yml | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ci/properties/grunt.properties.json b/ci/properties/grunt.properties.json index b721ee4..bbda07f 100644 --- a/ci/properties/grunt.properties.json +++ b/ci/properties/grunt.properties.json @@ -1,6 +1,6 @@ { "name": "Grunt", "description": "Build a Grunt project with npm.", - "iconName": "nodejs", + "iconName": "grunt", "categories": ["JavaScript", "npm", "Grunt"] } diff --git a/ci/properties/gulp.properties.json b/ci/properties/gulp.properties.json index 9e5b02e..58304fe 100644 --- a/ci/properties/gulp.properties.json +++ b/ci/properties/gulp.properties.json @@ -1,6 +1,6 @@ { "name": "Gulp", "description": "Build a Gulp project with npm.", - "iconName": "nodejs", + "iconName": "gulp", "categories": ["JavaScript", "npm", "Gulp"] } diff --git a/ci/properties/webpack.properties.json b/ci/properties/webpack.properties.json index 4efd0b2..240393b 100644 --- a/ci/properties/webpack.properties.json +++ b/ci/properties/webpack.properties.json @@ -1,6 +1,6 @@ { "name": "Webpack", "description": "Build a Webpack project with npm.", - "iconName": "nodejs", + "iconName": "webpack", "categories": ["JavaScript", "npm", "Webpack"] } diff --git a/ci/webpack.yml b/ci/webpack.yml index eb85baf..5839a82 100644 --- a/ci/webpack.yml +++ b/ci/webpack.yml @@ -24,6 +24,5 @@ jobs: - name: Build run: | - npm install -g webpack webpack-cli --save-dev npm install npx webpack From e12559a4f839a7109e282761ed5421f8afbb9a38 Mon Sep 17 00:00:00 2001 From: Ninad Kavimandan Date: Tue, 20 Jul 2021 10:43:58 +0530 Subject: [PATCH 4/5] updated descriptions and workflow names --- ci/grunt.yml | 2 +- ci/gulp.yml | 2 +- ci/properties/grunt.properties.json | 2 +- ci/properties/gulp.properties.json | 2 +- ci/properties/webpack.properties.json | 2 +- ci/webpack.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ci/grunt.yml b/ci/grunt.yml index 767e8fa..8c83cb6 100644 --- a/ci/grunt.yml +++ b/ci/grunt.yml @@ -1,4 +1,4 @@ -name: Grunt +name: NodeJS with Grunt on: push: diff --git a/ci/gulp.yml b/ci/gulp.yml index 962d15f..cc5da13 100644 --- a/ci/gulp.yml +++ b/ci/gulp.yml @@ -1,4 +1,4 @@ -name: Gulp +name: NodeJS with Gulp on: push: diff --git a/ci/properties/grunt.properties.json b/ci/properties/grunt.properties.json index bbda07f..aac35f1 100644 --- a/ci/properties/grunt.properties.json +++ b/ci/properties/grunt.properties.json @@ -1,6 +1,6 @@ { "name": "Grunt", - "description": "Build a Grunt project with npm.", + "description": "Build a NodeJS project with npm and grunt.", "iconName": "grunt", "categories": ["JavaScript", "npm", "Grunt"] } diff --git a/ci/properties/gulp.properties.json b/ci/properties/gulp.properties.json index 58304fe..5eeabb7 100644 --- a/ci/properties/gulp.properties.json +++ b/ci/properties/gulp.properties.json @@ -1,6 +1,6 @@ { "name": "Gulp", - "description": "Build a Gulp project with npm.", + "description": "Build a NodeJS project with npm and gulp.", "iconName": "gulp", "categories": ["JavaScript", "npm", "Gulp"] } diff --git a/ci/properties/webpack.properties.json b/ci/properties/webpack.properties.json index 240393b..3f4e4aa 100644 --- a/ci/properties/webpack.properties.json +++ b/ci/properties/webpack.properties.json @@ -1,6 +1,6 @@ { "name": "Webpack", - "description": "Build a Webpack project with npm.", + "description": "Build a NodeJS project with npm and webpack.", "iconName": "webpack", "categories": ["JavaScript", "npm", "Webpack"] } diff --git a/ci/webpack.yml b/ci/webpack.yml index 5839a82..8edb34f 100644 --- a/ci/webpack.yml +++ b/ci/webpack.yml @@ -1,4 +1,4 @@ -name: Webpack +name: NodeJS with Webpack on: push: From 3e7eb56f2798bbcf2641285055071fa5db322f99 Mon Sep 17 00:00:00 2001 From: Ninad Kavimandan Date: Tue, 20 Jul 2021 13:30:46 +0530 Subject: [PATCH 5/5] added `TypeScript` for gulp + grunt + webpack --- ci/properties/grunt.properties.json | 2 +- ci/properties/gulp.properties.json | 2 +- ci/properties/webpack.properties.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/properties/grunt.properties.json b/ci/properties/grunt.properties.json index aac35f1..c8a5b9f 100644 --- a/ci/properties/grunt.properties.json +++ b/ci/properties/grunt.properties.json @@ -2,5 +2,5 @@ "name": "Grunt", "description": "Build a NodeJS project with npm and grunt.", "iconName": "grunt", - "categories": ["JavaScript", "npm", "Grunt"] + "categories": ["JavaScript", "TypeScript", "npm", "Grunt"] } diff --git a/ci/properties/gulp.properties.json b/ci/properties/gulp.properties.json index 5eeabb7..658325b 100644 --- a/ci/properties/gulp.properties.json +++ b/ci/properties/gulp.properties.json @@ -2,5 +2,5 @@ "name": "Gulp", "description": "Build a NodeJS project with npm and gulp.", "iconName": "gulp", - "categories": ["JavaScript", "npm", "Gulp"] + "categories": ["JavaScript", "TypeScript", "npm", "Gulp"] } diff --git a/ci/properties/webpack.properties.json b/ci/properties/webpack.properties.json index 3f4e4aa..1e22ccb 100644 --- a/ci/properties/webpack.properties.json +++ b/ci/properties/webpack.properties.json @@ -2,5 +2,5 @@ "name": "Webpack", "description": "Build a NodeJS project with npm and webpack.", "iconName": "webpack", - "categories": ["JavaScript", "npm", "Webpack"] + "categories": ["JavaScript", "TypeScript", "npm", "Webpack"] }