Skip to content

Commit

Permalink
Add actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vladikoff committed Jul 16, 2020
1 parent 15b3a28 commit 434ecd6
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 76 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Tests
on: [push, pull_request]
env:
CI: true

jobs:
run:
name: Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node: [10, 12, 14]
os: [ubuntu-latest, windows-latest]

steps:
- name: Clone repository
uses: actions/checkout@v2

- name: Set Node.js version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}

- run: node --version
- run: npm --version

- name: Install npm dependencies
run: npm ci

- name: Run tests
run: npm test

# We test multiple Windows shells because of prior stdout buffering issues
# filed against Grunt. https://github.com/joyent/node/issues/3584
- name: Run PowerShell tests
run: "npm test # PowerShell" # Pass comment to PS for easier debugging
shell: powershell
if: startsWith(matrix.os, 'windows')
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# grunt-contrib-connect v2.1.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-connect.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-connect) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/3bp93hbs2rd5lwfd/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-connect/branch/master)
# grunt-contrib-connect v3.0.0 [![Build Status](https://github.com/gruntjs/grunt-contrib-connect/workflows/Tests/badge.svg)](https://github.com/gruntjs/grunt-contrib-connect/actions?workflow=Tests)

> Start a connect web server
Expand Down Expand Up @@ -411,4 +411,4 @@ grunt.registerTask('jasmine-server', 'start web server for jasmine tests in brow

Task submitted by ["Cowboy" Ben Alman](http://benalman.com)

*This file was generated on Tue Sep 03 2019 12:53:19.*
*This file was generated on Thu Jul 16 2020 10:36:46.*
33 changes: 0 additions & 33 deletions appveyor.yml

This file was deleted.

36 changes: 18 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "grunt-contrib-connect",
"description": "Start a connect web server",
"version": "2.1.0",
"version": "3.0.0",
"author": {
"name": "Grunt Team",
"url": "https://gruntjs.com/"
},
"repository": "gruntjs/grunt-contrib-connect",
"license": "MIT",
"engines": {
"node": ">=6"
"node": ">=10"
},
"main": "tasks/connect.js",
"scripts": {
Expand All @@ -28,13 +28,10 @@
},
"devDependencies": {
"grunt": "^1.0.3",
"grunt-contrib-internal": "^3.1.0",
"grunt-contrib-internal": "^5.0.0",
"grunt-contrib-jshint": "^1.1.0",
"grunt-contrib-nodeunit": "^2.0.0"
},
"peerDependencies": {
"grunt": ">=0.4.0"
},
"keywords": [
"gruntplugin",
"server",
Expand All @@ -43,6 +40,5 @@
],
"files": [
"tasks"
],
"appveyor_id": "3bp93hbs2rd5lwfd"
]
}

0 comments on commit 434ecd6

Please sign in to comment.