Skip to content

Commit 08896ae

Browse files
committed
Switch to Actions
1 parent eee0673 commit 08896ae

File tree

3 files changed

+39
-39
lines changed

3 files changed

+39
-39
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 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')

.travis.yml

-12
This file was deleted.

appveyor.yml

-27
This file was deleted.

0 commit comments

Comments
 (0)