Skip to content

Commit

Permalink
fix github ci (#118)
Browse files Browse the repository at this point in the history
* fix github ci

* zhlint
  • Loading branch information
wtto00 authored Feb 13, 2025
1 parent 95d87f4 commit d91f4dd
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ version: 2
updates:
- package-ecosystem: 'npm' # See documentation for possible values
directory: '/' # Location of package manifests
target-branch: 'dev'
schedule:
interval: 'weekly'
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: 'pnpm'
cache-dependency-path: pnpm-lock.yaml

Expand All @@ -45,7 +45,7 @@ jobs:
uses: actions/configure-pages@v5

- name: Install dependencies
run: pnpm install
run: npm i -g corepack@latest

- name: Build site
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
uses: actions/checkout@v4

- name: Install pnpm
run: corepack enable
run: npm i -g corepack@latest

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: 'pnpm'
cache-dependency-path: pnpm-lock.yaml

Expand Down
8 changes: 4 additions & 4 deletions src/content/blog/libraries-mirror-in-china.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ draft: false
tags:
- 镜像
description: '一些常用库的国内镜像: npm,cargo,maven,flutter,homebrew,dnf,ruby,pip'
updateTime: 2024-02-04T10:32:15.766Z
updateTime: 2025-02-13T09:29:58.967Z
---

## npm-JavaScript
Expand Down Expand Up @@ -35,7 +35,7 @@ export COREPACK_NPM_REGISTRY="https://registry.npmmirror.com"
[Environment]::SetEnvironmentVariable("COREPACK_NPM_REGISTRY","https://registry.npmmirror.com")
```

如果遇到网络302错误,那么可以使用`npm i -g corepack`更新最新版本。
如果遇到网络 302 错误,那么可以使用 `npm i -g corepack` 更新最新版本。

## git-for-windows

Expand Down Expand Up @@ -143,7 +143,7 @@ allprojects {

由于阿里云的镜像无法下载微信 openSDK6.8.26 (<https://maven.aliyun.com/repository/public/com/tencent/mm/opensdk/wechat-sdk-android/6.8.26/wechat-sdk-android-6.8.26.pom>) 版本,所以后面加个[华为云 maven 镜像](https://mirrors.huaweicloud.com/mirrorDetail/5ea0025f2ab89b484a4dd5ce)

由于阿里云以及华为云的镜像某些时候更新不及时,延时性比较大,对于比较急用的依赖包,加上[scijava](https://maven.scijava.org/content/repositories/public)
由于阿里云以及华为云的镜像某些时候更新不及时,延时性比较大,对于比较急用的依赖包,加上 [scijava](https://maven.scijava.org/content/repositories/public)

**gradle wrapper config**

Expand All @@ -170,7 +170,7 @@ sudo sed -e 's|^metalink=|#metalink=|g' \

更新请以[官方文档](https://mirrors.tuna.tsinghua.edu.cn/help/fedora/)为准。

经过测试,Fedora38不可用,38以后的版本可用。因为Fedora官方已把38版本的源归档
经过测试,Fedora38 不可用,38 以后的版本可用。因为 Fedora 官方已把 38 版本的源归档

## Ubuntu

Expand Down
4 changes: 2 additions & 2 deletions src/pages/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ title: '关于我'

老家河南哩。90 后的佛系社会人,喜欢写代码,喜欢开源文化,各种东西都会点,但是都不太精通。

平时喜欢打游戏🎮,听音乐🎵,爬山🧗,打羽毛球🏸。
平时喜欢打游戏 🎮,听音乐 🎵,爬山 🧗,打羽毛球 🏸。

欢迎联系 [email](mailto:[email protected]) 以及微信(wtto00) 交流技术,共同成长,共同进步。
欢迎联系 [email](mailto:[email protected]) 以及微信 (wtto00) 交流技术,共同成长,共同进步。

0 comments on commit d91f4dd

Please sign in to comment.