Skip to content

Commit 6b70073

Browse files
authored
Merge pull request #52 from github/actions-ci
Set up CI with GitHub Actions
2 parents 14d92ff + 3513cbf commit 6b70073

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Node CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- name: Use Node.js 12.x
11+
uses: actions/setup-node@v1
12+
with:
13+
node-version: 12.x
14+
- name: npm install, build, and test
15+
run: |
16+
npm ci
17+
npm test
18+
env:
19+
CI: true

0 commit comments

Comments
 (0)