Skip to content

Commit d412ba7

Browse files
authored
Release v3.0.0 (#34)
* Release v3.0.0 * Add Actions
1 parent f62cc61 commit d412ba7

7 files changed

Lines changed: 53 additions & 44 deletions

File tree

.github/workflows/test.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Tests
2+
on: [push, pull_request]
3+
env:
4+
CI: true
5+
6+
jobs:
7+
run:
8+
name: Node ${{ matrix.node }} on ${{ matrix.os }}
9+
runs-on: ${{ matrix.os }}
10+
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
node: [10, 12, 14]
15+
os: [ubuntu-latest, windows-latest]
16+
17+
steps:
18+
- name: Clone repository
19+
uses: actions/checkout@v2
20+
21+
- name: Set Node.js version
22+
uses: actions/setup-node@v1
23+
with:
24+
node-version: ${{ matrix.node }}
25+
26+
- run: node --version
27+
- run: npm --version
28+
29+
- name: Install npm dependencies
30+
run: npm i
31+
32+
- name: Run tests
33+
run: npm test
34+
35+
# We test multiple Windows shells because of prior stdout buffering issues
36+
# filed against Grunt. https://github.com/joyent/node/issues/3584
37+
- name: Run PowerShell tests
38+
run: "npm test # PowerShell" # Pass comment to PS for easier debugging
39+
shell: powershell
40+
if: startsWith(matrix.os, 'windows')

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules
2+
package-lock.json

.travis.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
v3.0.0:
2+
date: 2020-07-27
3+
changes:
4+
- Update dependencies
15
v2.0.0:
26
date: 2018-05-19
37
changes:

appveyor.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525
],
2626
"dependencies": {
2727
"colors": "~1.1.2",
28-
"grunt-legacy-log-utils": "~2.0.0",
28+
"grunt-legacy-log-utils": "~2.1.0",
2929
"hooker": "~0.2.3",
30-
"lodash": "~4.17.5"
30+
"lodash": "~4.17.19"
3131
},
3232
"devDependencies": {
33-
"grunt": "^1.0.1",
34-
"grunt-cli": "^1.2.0",
35-
"grunt-contrib-jshint": "^1.0.0",
36-
"grunt-contrib-nodeunit": "^2.0.0",
37-
"grunt-contrib-watch": "^1.0.0"
33+
"grunt": "^1.2.1",
34+
"grunt-cli": "^1.3.2",
35+
"grunt-contrib-jshint": "^2.1.0",
36+
"grunt-contrib-nodeunit": "^2.1.0",
37+
"grunt-contrib-watch": "^1.1.0"
3838
}
3939
}

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function repeat(str, n, separator) {
4949
return result;
5050
}
5151

52-
var fooBuffer = new Buffer('foo');
52+
var fooBuffer = Buffer.from('foo');
5353

5454
exports['Log instance'] = {
5555
setUp: function(done) {

0 commit comments

Comments
 (0)