fix: add dummy publish script for website
All checks were successful
Publish package / build_and_publish (push) Successful in 21s
All checks were successful
Publish package / build_and_publish (push) Successful in 21s
This commit is contained in:
parent
ae444629f0
commit
20cadc8521
3 changed files with 11 additions and 17 deletions
|
|
@ -34,21 +34,11 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: "bun install"
|
run: "bun install"
|
||||||
|
|
||||||
- name: Setup Cog
|
- name: Bump version and publish
|
||||||
uses: https://github.com/eshepelyuk/cocogitto-diya@v1
|
uses: https://github.com/eshepelyuk/cocogitto-diya@v1
|
||||||
with:
|
|
||||||
release: false
|
|
||||||
git-user: 'Cog Bot'
|
|
||||||
git-user-email: 'cog@alecodes.page'
|
|
||||||
|
|
||||||
- name: Create release
|
|
||||||
id: bump
|
|
||||||
env:
|
env:
|
||||||
NPM_REGISTRY_TOKEN: ${{ secrets.NPM_TOKEN_FORGEJO }}
|
NPM_REGISTRY_TOKEN: ${{ secrets.NPM_TOKEN_FORGEJO }}
|
||||||
run: "cog bump --auto"
|
with:
|
||||||
|
release: true
|
||||||
- name: Summary
|
git-user: 'Cog Bot'
|
||||||
run: |
|
git-user-email: 'cog@alecodes.page'
|
||||||
echo "Bun executable chache found: ${{ steps.setup_bun.outputs.cache-hit }}";
|
|
||||||
echo "Bun dependencies chache found: ${{ steps.cache.outputs.cache-hit }}";
|
|
||||||
echo "Package published: ${{ steps.publish.outputs.version }}";
|
|
||||||
|
|
|
||||||
5
cog.toml
5
cog.toml
|
|
@ -8,7 +8,10 @@ branch_whitelist = []
|
||||||
skip_ci = "[skip ci]"
|
skip_ci = "[skip ci]"
|
||||||
skip_untracked = false
|
skip_untracked = false
|
||||||
pre_bump_hooks = []
|
pre_bump_hooks = []
|
||||||
post_bump_hooks = []
|
post_bump_hooks = [
|
||||||
|
"git push",
|
||||||
|
"git push origin {{version_tag}}",
|
||||||
|
]
|
||||||
pre_package_bump_hooks = [
|
pre_package_bump_hooks = [
|
||||||
"echo 'bump package {{package}} to {{version}}'",
|
"echo 'bump package {{package}} to {{version}}'",
|
||||||
"sed -E -i 's/(\"version\":) \"[0-9.]{5}\"/\\1 \"{{version}}\"/gi' package.json",
|
"sed -E -i 's/(\"version\":) \"[0-9.]{5}\"/\\1 \"{{version}}\"/gi' package.json",
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,8 @@
|
||||||
"link-dependencies": "bun run _scripts/link-dependencies.ts",
|
"link-dependencies": "bun run _scripts/link-dependencies.ts",
|
||||||
"prebuild": "bun run _scripts/build.ts",
|
"prebuild": "bun run _scripts/build.ts",
|
||||||
"watch-deps": "bun run --watch _scripts/build.ts",
|
"watch-deps": "bun run --watch _scripts/build.ts",
|
||||||
"dev": "zola serve --port 3000 --fast --open"
|
"dev": "zola serve --port 3000 --fast --open",
|
||||||
|
"ci:publish": "echo 'dummy publish script'"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@mini-strap/core": "workspace:*",
|
"@mini-strap/core": "workspace:*",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue