Skip to content

Commit 5d67e34

Browse files
authoredMay 24, 2021
Merge pull request #1731 from gruntjs/update-options
Update grunt-known-options, switch to Actions
2 parents 1b6e288 + d13bf88 commit 5d67e34

File tree

4 files changed

+40
-40
lines changed

4 files changed

+40
-40
lines changed
 

‎.github/workflows/test.yml

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

‎.travis.yml

-12
This file was deleted.

‎appveyor.yml

-27
This file was deleted.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"findup-sync": "~0.3.0",
4444
"glob": "~7.1.6",
4545
"grunt-cli": "~1.4.2",
46-
"grunt-known-options": "~1.1.1",
46+
"grunt-known-options": "~2.0.0",
4747
"grunt-legacy-log": "~3.0.0",
4848
"grunt-legacy-util": "~2.0.1",
4949
"iconv-lite": "~0.4.13",

0 commit comments

Comments
 (0)
Please sign in to comment.