Skip to content

Commit

Permalink
Merge pull request #2 from glowingblue/github-workflows
Browse files Browse the repository at this point in the history
chore: update js build workflow
  • Loading branch information
DavideIadeluca authored Jan 4, 2024
2 parents a9e2376 + 5d94cb8 commit 68320e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 69 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
# Our action will install node, npm and yarn, cd into `./js`, run `yarn run build` (and
# `yarn run build-typings` if desired), then commit and upload any changes
- name: Build production JS
uses: flarum/action-build@3
uses: flarum/action-build@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: build
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
# Our action will install node, npm and yarn, cd into `./js`, run `yarn run build` (and
# `yarn run build-typings` if desired). It will NOT commit and upload.
- name: Build production JS
uses: flarum/action-build@3
uses: flarum/action-build@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: build
Expand Down
66 changes: 0 additions & 66 deletions .github/workflows/js.yml

This file was deleted.

4 changes: 3 additions & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
},
"scripts": {
"dev": "webpack --mode development --watch",
"build": "webpack --mode production"
"build": "webpack --mode production",
"format": "prettier --write src",
"format-check": "prettier --check src"
}
}

0 comments on commit 68320e2

Please sign in to comment.