Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
Merge branch dev into main (#74)
Browse files Browse the repository at this point in the history
* ci(release-please): add config for more changelog sections

* fix(Amtsblatt): Screenshot ratio should be sqrt(2):1
  • Loading branch information
kdev committed Feb 17, 2024
1 parent 817fd06 commit 2d1cbad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
# this is a built-in strategy in release-please, see "Action Inputs"
# for more options
release-type: node
release-type: node
config-file: release.config.json
8 changes: 8 additions & 0 deletions release.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"changelog-sections": [
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug Fixes", "hidden": false},
{ "type": "chore", "section": "Miscellaneous", "hidden": false},
{ "type": "ci", "section": "CI Changes", "hidden": false}
]
}
4 changes: 2 additions & 2 deletions src/app/amtsblatt/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ async function fetchPreviews() {
const options = {
density: 100,
format: "png",
width: 1080,
height: 1920,
width: 2480,
height: 3508,
};
const file = await fs.readFile(path.resolve(filePath));
const convert = fromBuffer(file, options);
Expand Down

0 comments on commit 2d1cbad

Please sign in to comment.