Add GitHub workflow for JavaScript building

This commit is contained in:
Franz Liedke 2019-08-20 23:54:24 +02:00
parent a1c00ee5de
commit 34d71f1df9
3 changed files with 17 additions and 13 deletions

Binary file not shown.

View File

@ -0,0 +1,17 @@
name: Build JavaScript assets
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: flarum/action-build@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,13 +0,0 @@
language: generic
cache:
directories:
- $HOME/.npm
jobs:
include:
- stage: build
if: branch = master AND type = push
script: curl -s https://raw.githubusercontent.com/flarum/core/master/.travis/build.sh | bash -s -
-k $encrypted_fa711d174b0b_key
-i $encrypted_fa711d174b0b_iv