Updating GHES workflows

This commit is contained in:
GitHub Actions
2021-07-26 11:15:04 +00:00
parent 920b11c2f0
commit 64a66cc158
9 changed files with 105 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
name: NodeJS with Grunt
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
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install
grunt
+28
View File
@@ -0,0 +1,28 @@
name: NodeJS with Gulp
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
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install
gulp
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Grunt",
"description": "Build a NodeJS project with npm and grunt.",
"iconName": "grunt",
"categories": ["JavaScript", "TypeScript", "npm", "Grunt"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Gulp",
"description": "Build a NodeJS project with npm and gulp.",
"iconName": "gulp",
"categories": ["JavaScript", "TypeScript", "npm", "Gulp"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Webpack",
"description": "Build a NodeJS project with npm and webpack.",
"iconName": "webpack",
"categories": ["JavaScript", "TypeScript", "npm", "Webpack"]
}
+28
View File
@@ -0,0 +1,28 @@
name: NodeJS with Webpack
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
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install
npx webpack
+1
View File
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 17 KiB

+1
View File
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.9 KiB

+1
View File
@@ -0,0 +1 @@
<svg fill="none" height="48" width="48" xmlns="http://www.w3.org/2000/svg"><path d="M24.5 0L46 12v24L24.5 48 3 36V12z" fill="#fff"/><path d="M42.16 35.172l-16.95 9.46v-7.368l10.561-5.732zm1.16-1.036V14.352l-6.203 3.532V30.6zM6.77 35.172l16.952 9.46v-7.368L13.16 31.532zm-1.159-1.036V14.352l6.203 3.532V30.6zm.726-21.064l17.385-9.704v7.124l-11.138 6.044-.085.048zm36.257 0L25.21 3.368v7.124l11.137 6.044.085.048z" fill="#8ed6fb"/><path d="M23.722 35.588l-10.42-5.652v-11.2l10.42 5.936zm1.488 0l10.42-5.652v-11.2l-10.42 5.936zM14.007 17.44l10.46-5.676 10.46 5.676-10.46 5.96z" fill="#1c78c0"/></svg>

After

Width:  |  Height:  |  Size: 597 B