ci: improve release process, clean up and re-org repo, add automated minification (#143)
* ci: update scripts * release 2.7.1 * remove tracked stylesheets * docs: revert stable tag to 2.7.0 * chore: move Plugin source into own dir * docs: delete info texts These can now be found in the [project wiki][wiki]. [wiki]: https://github.com/markcheret/footnotes/wiki * docs: tweak contributing guide * ci: reflect new directory structure * chore: update gitignore * chore: reflect new dir structure * docs: update documentation * build(linting): add Husky hooks, Markdown linting, lint all MD files * fix pre-push command * fix pre-push command * build: add stylesheet, JS minification * ci: add linting steps * ci: comment out CSS linting step (that's going to be a whole *thing*) * ci: minify all JS files * ci: call correct JS file * chore: lint * ci: fix PHP linting commands * chore: increment version constant string * ci: concat AMP stylesheets * ci: improve build scripts * chore: add assets dir
This commit is contained in:
parent
e780d817c1
commit
6a1117be15
183 changed files with 9761 additions and 2941 deletions
8
.github/workflows/php.yml
vendored
8
.github/workflows/php.yml
vendored
|
@ -34,10 +34,12 @@ jobs:
|
|||
|
||||
- name: Lint JS code
|
||||
run: composer run format:js:fix && composer run lint:js
|
||||
|
||||
# TODO: Fix CSS errors
|
||||
#- name: Format and lint CSS code
|
||||
|
||||
#- name: Lint stylesheets
|
||||
# run: composer run lint:css
|
||||
|
||||
- name: Lint Markdown files
|
||||
run: composer run lint:md
|
||||
|
||||
# TODO: Add tests
|
||||
# - name: Run test suite
|
||||
|
|
2
.github/workflows/release-handler.yml
vendored
2
.github/workflows/release-handler.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
|||
|
||||
- name: Build Plugin
|
||||
run: |
|
||||
composer run build -- -y
|
||||
composer run build
|
||||
|
||||
- name: Rename dist/ folder
|
||||
run: |
|
||||
|
|
Reference in a new issue