Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Nov 29, 2024
1 parent bb881df commit 7384a45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ jobs:
run: |
deno task make:readme
if [ -n "$(git status --porcelain)" ]; then
git add **/README.md
git diff
git add README.md
git commit -m 'doc: update `README.md`'
git pull --rebase
git push
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ci_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ jobs:
run: |
deno task build
if [ -n "$(git status --porcelain)" ]; then
git diff
git add .
git commit -m 'chore(${{ inputs.package }}): rebuild package'
git pull --rebase
Expand All @@ -220,8 +221,9 @@ jobs:
pushd "$(git rev-parse --show-toplevel)"
deno task make:bump --version '${{ needs.test.outputs.version }}' ${{ inputs.package }}
popd
deno fmt **/deno.jsonc
git add **/deno.jsonc
deno fmt deno.jsonc
git diff
git add deno.jsonc
git commit -m 'chore(${{ inputs.package }}): bump version ${{ needs.test.outputs.tag }}'
git pull --rebase
git push
Expand Down

0 comments on commit 7384a45

Please sign in to comment.