fix: add dummy publish script for website
Some checks failed
Publish package / build_and_publish (push) Failing after 21s
Some checks failed
Publish package / build_and_publish (push) Failing after 21s
This commit is contained in:
parent
ae444629f0
commit
107921ac28
3 changed files with 10 additions and 16 deletions
|
|
@ -36,19 +36,9 @@ jobs:
|
|||
|
||||
- name: Setup Cog
|
||||
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:
|
||||
NPM_REGISTRY_TOKEN: ${{ secrets.NPM_TOKEN_FORGEJO }}
|
||||
run: "cog bump --auto"
|
||||
|
||||
- name: Summary
|
||||
run: |
|
||||
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 }}";
|
||||
with:
|
||||
release: true
|
||||
git-user: 'Cog Bot'
|
||||
git-user-email: 'cog@alecodes.page'
|
||||
|
|
|
|||
5
cog.toml
5
cog.toml
|
|
@ -8,7 +8,10 @@ branch_whitelist = []
|
|||
skip_ci = "[skip ci]"
|
||||
skip_untracked = false
|
||||
pre_bump_hooks = []
|
||||
post_bump_hooks = []
|
||||
post_bump_hooks = [
|
||||
"git push",
|
||||
"git push origin {{version}}",
|
||||
]
|
||||
pre_package_bump_hooks = [
|
||||
"echo 'bump package {{package}} to {{version}}'",
|
||||
"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",
|
||||
"prebuild": "bun run _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": {
|
||||
"@mini-strap/core": "workspace:*",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue