Merge pull request #19590 from nextcloud/enh/noid/compile-handlebars-action

Move Compile Handlebars CI to GitHub Actions
This commit is contained in:
Christoph Wurst 2020-02-24 07:56:28 +01:00 committed by GitHub
commit 4c69188af0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 19 deletions

View 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

View 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