Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland authored Mar 15, 2023
1 parent ed1e9d9 commit 18b15e0
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
name: Build JavaScript assets
name: Javascript

on:
push:
branches:
- master
on: [workflow_dispatch, push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
run:
uses: flarum/framework/.github/workflows/REUSABLE_frontend.yml@main
with:
enable_bundlewatch: false
enable_prettier: true
enable_typescript: false

steps:
- uses: actions/checkout@master
- uses: flarum/action-build@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
frontend_directory: ./js
backend_directory: .
js_package_manager: npm
main_git_branch: master
secrets:
bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}

0 comments on commit 18b15e0

Please sign in to comment.