2022-03-12 07:02:51 +08:00
|
|
|
name: Pusher JS
|
|
|
|
|
|
|
|
on: [workflow_dispatch, push, pull_request]
|
|
|
|
|
|
|
|
# The reusable workflow definitions will be moved to the `flarum/framework` repo soon.
|
|
|
|
# This will break your current script.
|
|
|
|
# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure.
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
run:
|
|
|
|
uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main
|
|
|
|
with:
|
|
|
|
enable_bundlewatch: false
|
|
|
|
enable_prettier: true
|
|
|
|
enable_typescript: true
|
|
|
|
|
|
|
|
frontend_directory: ./extensions/pusher/js
|
|
|
|
backend_directory: ./extensions/pusher
|
|
|
|
js_package_manager: yarn
|
|
|
|
main_git_branch: main
|
2022-03-23 23:43:14 +08:00
|
|
|
|
2022-03-12 07:02:51 +08:00
|
|
|
secrets:
|
|
|
|
bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
|