Move Compile Handlebars CI to GitHub Actions
Signed-off-by: Gary Kim <gary@garykim.dev>
This commit is contained in:
parent
9d122c39ab
commit
907a27897a
19
.drone.yml
19
.drone.yml
|
@ -41,25 +41,6 @@ trigger:
|
||||||
- pull_request
|
- pull_request
|
||||||
- push
|
- 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
|
#kind: pipeline
|
||||||
#name: syntax-and-phan
|
#name: syntax-and-phan
|
||||||
|
|
|
@ -48,3 +48,20 @@ jobs:
|
||||||
npm ci
|
npm ci
|
||||||
- name: Test
|
- name: Test
|
||||||
run: npm run 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
|
||||||
|
|
Loading…
Reference in New Issue