Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
id: changesets
with:
version: pnpm run version
commit: "chore: release"
commit: "[ci] release"
title: "[ci] release"
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token}}
Expand All @@ -79,7 +79,8 @@ jobs:
run: |
git checkout changeset-release/main
VERSION=$(node -p "require('./src/package.json').version")
git commit --amend -m "chore(release): publish v$VERSION" --no-edit
NAME=$(node -p "require('./src/package.json').name")
git commit --amend -m "[ci] release $NAME v$VERSION" --no-edit
git push origin changeset-release/main:changeset-release/main --force

image-tag:
Expand Down Expand Up @@ -191,7 +192,7 @@ jobs:
- uses: ncipollo/release-action@v1
id: create_release
with:
tag: ${{ env.IMAGE_NAME }}-docs@${{ needs.image-tag.outputs.IMAGE_TAG }}
tag: ${{ env.IMAGE_NAME }}@${{ needs.image-tag.outputs.IMAGE_TAG }}
makeLatest: true
body: ${{ steps.extract-changelog.outputs.markdown }}
skipIfReleaseExists: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ jobs:
- name: Run pngquant
run: |
shopt -s globstar
find . -name '*.png' -exec pngquant --ext .png --force 256 {} \;
find . -name '*.png' -exec pngquant --ext .png 256 {} \;

- uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ out
# Nuxt.js build / generate output
.nuxt
dist
.output

# Gatsby files
.cache/
Expand Down
12 changes: 10 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
{
"plugins": ["prettier-plugin-astro", "@trivago/prettier-plugin-sort-imports"],
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"endOfLine": "lf",
"htmlWhitespaceSensitivity": "css",
"overrides": [
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
],
"importOrder": [
"<THIRD_PARTY_MODULES>",
"^@internal/(.*)$",
Expand All @@ -16,6 +25,5 @@
"^[.]/[-a-zA-Z0-9_]+[.](module)[.](css|scss|less)$"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"plugins": ["@trivago/prettier-plugin-sort-imports"]
"importOrderSortSpecifiers": true
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.11",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"prettier": "^3.4.1"
"@trivago/prettier-plugin-sort-imports": "5.2.2",
"prettier": "3.5.3",
"prettier-plugin-astro": "0.14.1"
},
"packageManager": "[email protected]"
}
Loading