chore: update frontend workflow
This commit is contained in:
parent
4d2c5cb22f
commit
fa90def995
|
|
@ -1,17 +1,18 @@
|
||||||
name: Build JavaScript assets
|
name: Search JS
|
||||||
|
|
||||||
on:
|
on: [workflow_dispatch, push, pull_request]
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
run:
|
||||||
runs-on: ubuntu-latest
|
uses: flarum/framework/.github/workflows/REUSABLE_frontend.yml@main
|
||||||
|
with:
|
||||||
steps:
|
enable_bundlewatch: false
|
||||||
- uses: actions/checkout@master
|
enable_prettier: true
|
||||||
- uses: flarum/action-build@master
|
enable_typescript: false
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
|
frontend_directory: ./js
|
||||||
|
backend_directory: .
|
||||||
|
js_package_manager: yarn
|
||||||
|
main_git_branch: main
|
||||||
|
secrets:
|
||||||
|
bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue