]> source.dussan.org Git - nextcloud-server.git/commitdiff
Move Compile Handlebars CI to GitHub Actions 19590/head
authorGary Kim <gary@garykim.dev>
Sat, 22 Feb 2020 19:32:26 +0000 (03:32 +0800)
committerGary Kim <gary@garykim.dev>
Sun, 23 Feb 2020 04:13:48 +0000 (12:13 +0800)
Signed-off-by: Gary Kim <gary@garykim.dev>
.drone.yml
.github/workflows/node.yml

index 3da6717896cef41687cead8aa5f99940949ffcd9..a4a38d3f778275c9c098162f292008da20da3daf 100644 (file)
@@ -41,25 +41,6 @@ trigger:
     - pull_request
     - push
 
----
-kind: pipeline
-name: handlebars
-
-steps:
-- name: handlebars
-  image: node
-  commands:
-    - npm i
-    - ./build/compile-handlebars-templates.sh
-
-trigger:
-  branch:
-    - master
-    - stable*
-  event:
-    - pull_request
-    - push
-
 #---
 #kind: pipeline
 #name: syntax-and-phan
index f99bd1bfce0a2b196ee3ed4b4c6bef1b8d885d4f..bd750f394dc1ba8ae6b051cf4a346eab1f22b87e 100644 (file)
@@ -48,3 +48,20 @@ jobs:
           npm ci
     - name: Test
       run: npm run test
+
+  handlebars:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        node-version: [12.x]
+    steps:
+      - uses: actions/checkout@v2
+      - name: Use node ${{ matrix.node-version }}
+        uses: actions/setup-node@v1
+        with:
+          node-version: ${{ matrix.node-version }}
+      - name: Install dependencies
+        run: |
+          npm ci
+      - name: Run compile
+        run: ./build/compile-handlebars-templates.sh