Skip to content

Commit 9552a00

Browse files
authored
Merge pull request #7 from ember-codemods/actions
Setup GitHub actions
2 parents 7b28116 + 645003c commit 9552a00

2 files changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
name: Tests
8+
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
matrix:
13+
node-version: [8.x, 10.x, 12.x]
14+
15+
steps:
16+
- uses: actions/checkout@v1
17+
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
23+
- name: install
24+
run: yarn install
25+
26+
- name: lint
27+
run: yarn lint
28+
29+
- name: test
30+
run: yarn test
31+
env:
32+
CI: true

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.editorconfig
22
.eslintrc.js
3+
.github/
34
.prettierrc.js
45
.idea/
56
**/__tests__/

0 commit comments

Comments
 (0)