summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-02-24 07:56:28 +0100
committerGitHub <noreply@github.com>2020-02-24 07:56:28 +0100
commit4c69188af0f97c0e4eb9c1337064e80dafa046be (patch)
tree50bf14e2a57719de01fff087996ddb79f5dcf7be
parent921253033ae65eebab08e3673d0635083443b06a (diff)
parent907a27897a1ee5551714c10e9782e38913983fd9 (diff)
downloadnextcloud-server-4c69188af0f97c0e4eb9c1337064e80dafa046be.tar.gz
nextcloud-server-4c69188af0f97c0e4eb9c1337064e80dafa046be.zip
Merge pull request #19590 from nextcloud/enh/noid/compile-handlebars-action
Move Compile Handlebars CI to GitHub Actions
-rw-r--r--.drone.yml19
-rw-r--r--.github/workflows/node.yml17
2 files changed, 17 insertions, 19 deletions
diff --git a/.drone.yml b/.drone.yml
index 3da6717896c..a4a38d3f778 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -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
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml
index f99bd1bfce0..bd750f394dc 100644
--- a/.github/workflows/node.yml
+++ b/.github/workflows/node.yml
@@ -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