Skip to content

Commit cae9f39

Browse files
authored
Use github workflows (#54)
1 parent 6a6f3ba commit cae9f39

File tree

3 files changed

+33
-11
lines changed

3 files changed

+33
-11
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ insert_final_newline = true
88
indent_style = tab
99
indent_size = 4
1010

11-
[*.{yml,yaml}]
11+
[*.{yml,yaml,lock}]
1212
indent_style = space
1313
indent_size = 2

.github/workflows/tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: tests
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
node-version: [12.x]
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Use Node.js ${{ matrix.node-version }}
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: ${{ matrix.node-version }}
18+
19+
- name: EditorConfig Lint
20+
uses: docker://mstruebing/editorconfig-checker:2.0.3
21+
22+
- name: Install
23+
run: yarn install
24+
25+
- name: Lint
26+
run: yarn run check:cs
27+
28+
- name: Check TS types
29+
run: yarn run check:types
30+
31+
- name: Test
32+
run: yarn run check:tests

.travis.yml

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

0 commit comments

Comments
 (0)