mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 20:16:08 +08:00
Add GitHub workflow for JavaScript building
This commit is contained in:
parent
79e1f7c051
commit
6fc6e7d9f4
Binary file not shown.
17
extensions/likes/.github/workflows/build.yml
vendored
Normal file
17
extensions/likes/.github/workflows/build.yml
vendored
Normal 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 }}
|
||||
|
|
@ -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_13ae19a9a0d2_key
|
||||
-i $encrypted_13ae19a9a0d2_iv
|
Loading…
Reference in New Issue
Block a user