Add ci.yml file to setup GitHub actions.
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 28 Mar 2020 17:07:29 +0000 (13:07 -0400)
committerGitHub <noreply@github.com>
Sat, 28 Mar 2020 17:07:29 +0000 (13:07 -0400)
.github/workflows/ci.yml [new file with mode: 0644]

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644 (file)
index 0000000..31e23ba
--- /dev/null
@@ -0,0 +1,17 @@
+name: CI
+
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - uses: actions/setup-node@v1.1.0
+    - run: npm install
+    - run: ./build.sh
+    - run: npm test