From 3cb4f9c15b1ad3e70ef3be53d844bc63b5d06cfc Mon Sep 17 00:00:00 2001 From: Vlad Filippov Date: Wed, 29 Mar 2023 17:36:34 -0400 Subject: [PATCH] Update internal --- .github/workflows/test.yml | 41 ++++++++++++++++++++++++++++++++++++++ CONTRIBUTING.md | 2 +- README.md | 6 +++--- package.json | 4 ++-- 4 files changed, 47 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..a88ecd3 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,41 @@ +name: Tests + +on: [push, pull_request, workflow_dispatch] + +env: + FORCE_COLOR: 2 + +jobs: + run: + name: Node ${{ matrix.node }} on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + + strategy: + fail-fast: false + matrix: + node: [14, 16, 18] + os: [ubuntu-latest, windows-latest] + + steps: + - name: Clone repository + uses: actions/checkout@v3 + with: + persist-credentials: false + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node }} + + - 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') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5d08cc3..1073d15 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1 +1 @@ -Please see the [Contributing to grunt](http://gruntjs.com/contributing) guide for information on contributing to this project. +Please see the [Contributing to grunt](https://gruntjs.com/contributing) guide for information on contributing to this project. diff --git a/README.md b/README.md index 3085179..eeff168 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# grunt-contrib-watch v1.1.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-watch.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-watch) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/olyu3uhcq59avm8v/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-watch/branch/master) +# grunt-contrib-watch v1.1.0 [![Build Status](https://github.com/gruntjs/grunt-contrib-watch/workflows/Tests/badge.svg)](https://github.com/gruntjs/grunt-contrib-watch/actions?workflow=Tests) > Run predefined tasks whenever watched file patterns are added, changed or deleted @@ -6,7 +6,7 @@ ## Getting Started -If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command: +If you haven't used [Grunt](https://gruntjs.com/) before, be sure to check out the [Getting Started](https://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](https://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command: ```shell npm install grunt-contrib-watch --save-dev @@ -513,4 +513,4 @@ You'll have the `connect` web server on separate port ex: port 9000 from your ma Task submitted by [Kyle Robinson Young](http://dontkry.com) -*This file was generated on Sat May 12 2018 21:15:02.* +*This is a generated file.* diff --git a/package.json b/package.json index dd377e9..f4e9d25 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,8 @@ "devDependencies": { "grunt": "^1.6.1", "grunt-cli": "^1.2.0", - "grunt-contrib-internal": "^2.0.0", - "grunt-contrib-jshint": "^1.0.0", + "grunt-contrib-internal": "^8.0.2", + "grunt-contrib-jshint": "^3.2.0", "grunt-contrib-nodeunit": "^5.0.0", "grunt-jscs": "^3.0.1", "underscore.string": "^3.2.2"