Skip to content

Commit d9c3b35

Browse files
authored
Merge pull request #307 from gruntjs/hotfix-main
Hotfix main
2 parents 270d8dd + f3eb299 commit d9c3b35

File tree

3 files changed

+8675
-2452
lines changed

3 files changed

+8675
-2452
lines changed

.github/workflows/test.yml

+39-37
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,39 @@
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-
- name: Install npm dependencies
27-
run: npm ci
28-
29-
- name: Run tests
30-
run: npm test
31-
32-
# We test multiple Windows shells because of prior stdout buffering issues
33-
# filed against Grunt. https://github.com/joyent/node/issues/3584
34-
- name: Run PowerShell tests
35-
run: "npm test # PowerShell" # Pass comment to PS for easier debugging
36-
shell: powershell
37-
if: startsWith(matrix.os, 'windows')
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: [12, 14, 16]
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 ci
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')

0 commit comments

Comments
 (0)