mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-07-19 19:16:01 +00:00
refactor: consume Commonlib as a package
This commit is contained in:
@@ -37,7 +37,6 @@ jobs:
|
||||
with:
|
||||
ref: ${{ inputs.base_branch }}
|
||||
fetch-depth: 0
|
||||
submodules: recursive
|
||||
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v4
|
||||
@@ -45,11 +44,6 @@ jobs:
|
||||
node-version: "24.x"
|
||||
cache: npm
|
||||
|
||||
- name: Use Deno
|
||||
uses: denoland/setup-deno@v2
|
||||
with:
|
||||
deno-version: v2.x
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
@@ -78,9 +72,8 @@ jobs:
|
||||
git switch -c "${BRANCH}"
|
||||
npm version "${VERSION}" --no-git-tag-version
|
||||
node utils/release-notes.mjs prepare "${VERSION}"
|
||||
npm run build:lib:types
|
||||
|
||||
git add package.json package-lock.json manifest.json versions.json updates.md src/apps/cli/package.json src/apps/webpeer/package.json src/apps/webapp/package.json _types
|
||||
git add package.json package-lock.json manifest.json versions.json updates.md src/apps/cli/package.json src/apps/webpeer/package.json src/apps/webapp/package.json
|
||||
git diff --cached --check
|
||||
git commit -m "Releasing ${VERSION}"
|
||||
git push --set-upstream origin "${BRANCH}"
|
||||
@@ -104,7 +97,7 @@ jobs:
|
||||
|
||||
- [ ] Review and polish \`updates.md\`
|
||||
- [ ] Confirm the release date
|
||||
- [ ] Confirm \`manifest.json\`, \`versions.json\`, workspace package versions, and generated \`_types\`
|
||||
- [ ] Confirm \`manifest.json\`, \`versions.json\`, workspace package versions, and the locked Commonlib package version
|
||||
- [ ] Confirm CI has passed
|
||||
- [ ] Run the finalise release workflow with this PR's fixed head SHA
|
||||
- [ ] Confirm the draft GitHub Release assets and the published CLI image
|
||||
|
||||
Reference in New Issue
Block a user