Skip to content

Commit ec64ca5

Browse files
authored
Add linting workflow
1 parent a0725db commit ec64ca5

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/nodejs.yml

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

0 commit comments

Comments
 (0)