diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 20f052e..d494f26 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,10 +57,22 @@ jobs: uses: actions/setup-python@v1 with: python-version: 3.9 + + - name: Use Node.js 16 + uses: actions/setup-node@v3 + with: + node-version: 16 + - name: Install dependencies run: | python -m pip install --upgrade pip pip install tox + npm install + + - name: Build Tailwind CSS + run: | + npm run build + - name: Publish pip packages with tox run: tox -e release env: diff --git a/poetry.lock b/poetry.lock index 07e1f93..fa4ecfb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -211,14 +211,14 @@ Django = ">=3.2" [[package]] name = "django-extensions" -version = "2.2.9" +version = "3.2.1" description = "Extensions for Django" category = "dev" optional = false -python-versions = "*" +python-versions = ">=3.6" [package.dependencies] -six = ">=1.2" +Django = ">=3.2" [[package]] name = "django-filter" @@ -1011,7 +1011,7 @@ test = ["pytest (>=3.5)", "pytest-django (>=3.2)", "pytest-pythonpath (>=0.7.2)" [[package]] name = "wagtail-markdown" -version = "0.7.0" +version = "0.9.0" description = "Markdown support for Wagtail" category = "dev" optional = false @@ -1020,7 +1020,7 @@ python-versions = "*" [package.dependencies] bleach = ">=3.3.0,<4" Markdown = ">=3,<4" -Wagtail = ">=2.0" +Wagtail = ">=2.15" [[package]] name = "wagtail-metadata" @@ -1124,7 +1124,7 @@ testing = ["func-timeout", "jaraco.itertools", "pytest (>=6)", "pytest-black (>= [metadata] lock-version = "1.1" python-versions = ">=3.9,<4.0" -content-hash = "edf501de69c43e393ef42a198608b0e15e7ffe2f4a46d55f1af9cb6ad3a48aef" +content-hash = "0f73758df02b4b568e137367e0d492cc1ae69d8053b726817bcf1bf38d90daf6" [metadata.files] anyascii = [ @@ -1271,8 +1271,8 @@ django-browser-reload = [ {file = "django_browser_reload-1.6.0-py3-none-any.whl", hash = "sha256:31b8b2d51e8faa5878f21e6b60b8f43e1123907c6e082e9e967962ba63958829"}, ] django-extensions = [ - {file = "django-extensions-2.2.9.tar.gz", hash = "sha256:2f81b618ba4d1b0e58603e25012e5c74f88a4b706e0022a3b21f24f0322a6ce6"}, - {file = "django_extensions-2.2.9-py2.py3-none-any.whl", hash = "sha256:b19182d101a441fe001c5753553a901e2ef3ff60e8fbbe38881eb4a61fdd17c4"}, + {file = "django-extensions-3.2.1.tar.gz", hash = "sha256:2a4f4d757be2563cd1ff7cfdf2e57468f5f931cc88b23cf82ca75717aae504a4"}, + {file = "django_extensions-3.2.1-py3-none-any.whl", hash = "sha256:421464be390289513f86cb5e18eb43e5dc1de8b4c27ba9faa3b91261b0d67e09"}, ] django-filter = [ {file = "django-filter-21.1.tar.gz", hash = "sha256:632a251fa8f1aadb4b8cceff932bb52fe2f826dd7dfe7f3eac40e5c463d6836e"}, @@ -1727,8 +1727,8 @@ wagtail-foliage = [ {file = "wagtail_foliage-0.1.1-py3-none-any.whl", hash = "sha256:027b0551b6f979b0c9ecf14d63c44b4932c56297ac931612e6f59b8ed5f60f3d"}, ] wagtail-markdown = [ - {file = "wagtail-markdown-0.7.0.tar.gz", hash = "sha256:ea6aaea5ee84a66d25cb66854720fe8d4306730f4edce19afbe57655c5ba9621"}, - {file = "wagtail_markdown-0.7.0-py2.py3-none-any.whl", hash = "sha256:e1002dfc14514c89002c475789ae4cf4e7fd88439eef47ba60328f49cd69ebe1"}, + {file = "wagtail-markdown-0.9.0.tar.gz", hash = "sha256:8d42c0d0a82f325ef0311d3014ac3cfc67c2a69208c7c6c9f0989d1c7c4cd2f8"}, + {file = "wagtail_markdown-0.9.0-py2.py3-none-any.whl", hash = "sha256:68a96e85c8aa5d4567a286bc0a1c507b3638abff8ffb167da63381c2df19d117"}, ] wagtail-metadata = [ {file = "wagtail-metadata-4.0.0.tar.gz", hash = "sha256:48cbc9dab91cbe2241383e0657e92cc703629e1bc1f8e890ddaf09ffdf65515d"}, diff --git a/pyproject.toml b/pyproject.toml index ba5d76e..56f2b12 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api" [tool.poetry] name = "wagtail-code-blog" -version = "0.3.1" +version = "0.3.3" license = "MIT" description = "A wagtail code blog" authors = ["Dani Hodovic "] @@ -53,14 +53,14 @@ django-stubs = "^1.4.0" black = "22.3.0" mypy = "^0.761" beautifulsoup4 = "^4.6.0" -django-extensions = "^2.2.8" +django-extensions = "^3.1.5" wagtail-foliage = "^0.1.1" isort = "^5.7.0" pudb = "^2019.2" pylint = "^2.7.2" pylint-django = "^2.0.14" werkzeug = "^1.0.0" -wagtail-markdown = "^0.7.0" +wagtail-markdown = "^0.9.0" tox = "^3.14.5" django-browser-reload = "^1.3.0"