-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rebuild development scripts and release workflow (#84)
* refactor: add dev server and fix `update-beta.json` bug * chore: add renovate config * feat: release plugin to GitHub release via action * chore: update vsc settings * Cancel release by action * docs: update readme * Update README.md * Update README.md fix format * Update README.md * Update README.md fix hint * tweak * Merge #81 * Fix indent * Merge ade4962 * Revent delete env * tweak * feat: release via GitHub action * docs: update readme * Update README.md * style: fix prettier * add: stdout log to file * Update README.md fix typo * Update release.yml fix typo * write Zotero log to `logs/zotero.log` * do not provide update-beta.json default * fix prettier in readme * tweak * fix wrong link in readme * Move 3rd package config to package.json --------- Co-authored-by: windingwind <[email protected]>
- Loading branch information
1 parent
e2885ec
commit fb9109d
Showing
21 changed files
with
810 additions
and
520 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:recommended", | ||
":semanticPrefixChore", | ||
":prHourlyLimitNone", | ||
":prConcurrentLimitNone", | ||
":enableVulnerabilityAlerts", | ||
":dependencyDashboard", | ||
"schedule:weekends" | ||
], | ||
"packageRules": [ | ||
{ | ||
"matchPackageNames": ["zotero-plugin-toolkit", "zotero-types"], | ||
"automerge": true | ||
} | ||
], | ||
"git-submodules": { | ||
"enabled": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- v** | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
release-it: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GitHub_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
# cache: npm | ||
|
||
- name: Install deps | ||
run: npm install | ||
|
||
- name: Release to GitHub | ||
# if: github.event_name == 'push' && github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/v') | ||
run: | | ||
npm run release -- --no-increment --no-git --github.release --ci --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
**/build | ||
build | ||
logs | ||
node_modules | ||
package-lock.json | ||
pnpm-lock.yaml | ||
yarn.lock | ||
zotero-cmd.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
build | ||
logs | ||
node_modules | ||
package-lock.json | ||
yarn.lock | ||
pnpm-lock.yaml | ||
# zotero-cmd.json |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.