Skip to content

Commit 18d6006

Browse files
committed
Switch Travis to Github Actions
1 parent 94b51a9 commit 18d6006

File tree

2 files changed

+27
-11
lines changed

2 files changed

+27
-11
lines changed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Run tests
2+
on: [push, pull_request]
3+
4+
jobs:
5+
run:
6+
name: Run tests
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Clone repository
11+
uses: actions/checkout@master
12+
with:
13+
fetch-depth: 3
14+
15+
- name: Setup Node.js
16+
uses: actions/[email protected]
17+
with:
18+
version: 12
19+
20+
- run: node --version
21+
- run: npm --version
22+
23+
- name: Install npm dependencies
24+
run: npm install
25+
26+
- name: Run tests
27+
run: npm run test

.travis.yml

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

0 commit comments

Comments
 (0)