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