Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
couriourc committed Apr 17, 2024
1 parent 33c7b59 commit 8c18d9c
Show file tree
Hide file tree
Showing 5 changed files with 1,844 additions and 105 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Release

on:
workflow_dispatch:
push:
tags:
- 'v*'
branches:
- master

jobs:
submit:
Expand All @@ -26,10 +31,12 @@ jobs:
pnpm zip
pnpm zip:firefox
- name: Create Release
id: create_release
uses: ncipollo/release-action@v1
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
artifacts: ".output/*.zip"
tag: "release"

repo_token: ${{ secrets.GITHUB_TOKEN }}
file: .output/*.zip # the folder which has all the files that you want to release
tag: ${{ github.ref }}
overwrite: true
file_glob: true

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# 0.0.0 (2024-04-17)



3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@commitlint/config-conventional']
};
19 changes: 18 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@
"zip": "wxt zip",
"zip:firefox": "wxt zip -b firefox",
"compile": "tsc --noEmit",
"postinstall": "wxt prepare"
"postinstall": "wxt prepare",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"publish": "standard-version -r minor",
"pre:publish": "standard-version --prerelease alpha",
"stable:publish": "standard-version --tag-prefix 'stable-'"

},
"husky": {
"hooks": {
"commit-msg": "npx commitlint -E HUSKY_GIT_PARAMS"
}
},
"dependencies": {
"@emotion/css": "^11.11.2",
Expand Down Expand Up @@ -42,9 +52,16 @@
"unocss": "^0.59.0"
},
"devDependencies": {
"@commitlint/cli": "^19.2.2",
"@commitlint/config-conventional": "^19.2.2",
"@types/react": "^18.2.46",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"commitizen": "^4.3.0",
"conventional-changelog": "^5.1.0",
"conventional-changelog-cli": "^4.1.0",
"husky": "^9.0.11",
"standard-version": "^9.5.0",
"typescript": "^5.3.3",
"vite-plugin-html": "^3.2.2",
"vite-plugin-html-env": "^1.2.8",
Expand Down
Loading

0 comments on commit 8c18d9c

Please sign in to comment.