chore: update frontend workflow

This commit is contained in:
Ian Morland 2022-11-18 08:29:19 +00:00
parent 4d2c5cb22f
commit fa90def995
1 changed files with 14 additions and 13 deletions

View File

@ -1,17 +1,18 @@
name: Build JavaScript assets
name: Search JS
on:
push:
branches:
- main
on: [workflow_dispatch, push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: flarum/action-build@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run:
uses: flarum/framework/.github/workflows/REUSABLE_frontend.yml@main
with:
enable_bundlewatch: false
enable_prettier: true
enable_typescript: false
frontend_directory: ./js
backend_directory: .
js_package_manager: yarn
main_git_branch: main
secrets:
bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}