Skip to content

Commit

Permalink
fix: fix long code format
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Mar 21, 2023
1 parent 355f297 commit 212fbdd
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: 2
updates:
# Fetch and update latest `npm` packages
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "00:00"
open-pull-requests-limit: 10
reviewers:
- terwer
assignees:
- terwer
commit-message:
prefix: fix
prefix-development: chore
include: scope
# Fetch and update latest `github-actions` pkgs
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
time: "00:00"
open-pull-requests-limit: 10
reviewers:
- terwer
assignees:
- terwer
commit-message:
prefix: fix
prefix-development: chore
include: scope
38 changes: 38 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
on:
push:
branches:
- main
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: release-please-action
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false}]'

# Checkout
- uses: actions/checkout@v3
if: ${{ steps.release.outputs.release_created }}
# Setup node
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
# Setup pnpm
- uses: pnpm/action-setup@v2
with:
version: 7.29.0
if: ${{ steps.release.outputs.release_created }}
# Install dependencies
- run: pnpm package
if: ${{ steps.release.outputs.release_created }}
# Publish to npm
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
4 changes: 4 additions & 0 deletions custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
width: unset !important;
}

.artalk pre code, .atk-layer-wrap pre code{
white-space: pre-wrap !important;
}

/* 暗黑模式 */
.theme-mode-dark #vuepress-plugin-vdoing-comment {
--at-color-bg: --bodyBg;
Expand Down

0 comments on commit 212fbdd

Please sign in to comment.