1
0
mirror of https://github.com/flarum/core.git synced 2025-08-22 08:04:37 +02:00

Apply flarum-cli audit fix (#3248)

This commit is contained in:
Alexander Skvortsov
2022-01-03 16:57:09 -05:00
committed by GitHub
parent 7c3b51fec0
commit af77214967
11 changed files with 101 additions and 313 deletions

20
.github/workflows/frontend.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Core 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: true
enable_prettier: true
enable_typescript: true
frontend_directory: ./js
main_git_branch: main
secrets:
bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}