Skip to content

Commit

Permalink
Update internal
Browse files Browse the repository at this point in the history
  • Loading branch information
vladikoff committed Mar 29, 2023
1 parent b9ffa6b commit 3cb4f9c
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 6 deletions.
41 changes: 41 additions & 0 deletions .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')
2 changes: 1 addition & 1 deletion 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.
6 changes: 3 additions & 3 deletions README.md
@@ -1,12 +1,12 @@
# 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


## 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
Expand Down Expand Up @@ -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.*
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -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"
Expand Down

0 comments on commit 3cb4f9c

Please sign in to comment.