summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-07-07 12:22:07 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-08-24 19:47:26 +0200
commit8a3ecd66e7856ca5c36a21c93e447379e9bfa5ba (patch)
tree5ae8761705cc9bbd975334f7fd714c346263f04c /.github/workflows
parentce8751a2bdd6e76475338bd1f12179c2d7cedcb0 (diff)
Add frontend CI
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/frontend.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml
new file mode 100644
index 00000000..494c0829
--- /dev/null
+++ b/.github/workflows/frontend.yml
@@ -0,0 +1,21 @@
+name: Frontend
+
+on: [push]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Node.js
+ uses: actions/setup-node@v1
+ with:
+ node-version: 12.x
+ - run: npm install
+ working-directory: frontend
+ - run: npm run build --if-present
+ working-directory: frontend
+ - run: npm test
+ working-directory: frontend
+ env:
+ CI: true