summaryrefslogtreecommitdiffstats
path: root/.github/workflows/frontend.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-02-08 13:16:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-02-08 13:16:47 +0000
commit4f5226cb7a97f86421a94fcc75c59fe6d709ae02 (patch)
tree1a2cab09cbbc1040650fe21c0a9cef15d2ccb6ee /.github/workflows/frontend.yml
parentInitial commit. (diff)
downloadttyd-4f5226cb7a97f86421a94fcc75c59fe6d709ae02.tar.xz
ttyd-4f5226cb7a97f86421a94fcc75c59fe6d709ae02.zip
Adding upstream version 1.6.3.upstream/1.6.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/frontend.yml')
-rw-r--r--.github/workflows/frontend.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml
new file mode 100644
index 0000000..f18b405
--- /dev/null
+++ b/.github/workflows/frontend.yml
@@ -0,0 +1,26 @@
+name: frontend
+
+on:
+ push:
+ paths:
+ - ".github/workflows/frontend.yml"
+ - "html/*"
+ pull_request:
+ paths:
+ - ".github/workflows/frontend.yml"
+ - "html/*"
+
+jobs:
+ build:
+ runs-on: ubuntu-18.04
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-node@v1
+ with:
+ node-version: '12.x'
+ - name: Run yarn install, check and build
+ run: |
+ cd html
+ yarn install
+ yarn run check
+ yarn run build