Skip to content

Commit

Permalink
chore: change yarn to bun
Browse files Browse the repository at this point in the history
  • Loading branch information
mobeicanyue committed Jun 8, 2024
1 parent 998d509 commit 587befb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2,368 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,11 @@ jobs:
with:
fetch-depth: 0

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- uses: oven-sh/setup-bun@v1

- name: Install Dependencies
run: |
yarn install
bun install
# https://github.com/zhullyb/zhullyb.github.io/blob/master/.github/workflows/deploy.yml
# 修复 hexo 生成的文件更新时间 为当前时间,实际应为提交时间
Expand All @@ -35,7 +31,7 @@ jobs:
- name: Build Site
run: |
yarn build
bun build
- name: Move baidu_verify
run: |
Expand Down
Binary file added bun.lockb
Binary file not shown.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@
"hexo-server": "^3.0.0",
"hexo-theme-fluid": "^1.9.7",
"hexo-yam": "^8.0.0"
}
},
"trustedDependencies": [
"hexo-util"
]
}
6 changes: 2 additions & 4 deletions source/_posts/How-to-upload-your-own-package-on-npm.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ abbrlink: 9ac67242
date: 2024-06-08 19:03:46
---

{% note info %}
近来由于维护 lxgw-wenkai-web 的需要,学习一下 npm 包的上传。

本文将介绍如何将自己的 npm 包上传到 npm 仓库。
{% note primary %}
本文将介绍如何将自己的 npm 包上传到 npm registry 仓库。
{% endnote %}

在开始之前,请首先阅读 [npm 官方文档](https://docs.npmjs.com/),了解 npm 的基本使用方法。
Expand Down
Loading

0 comments on commit 587befb

Please sign in to comment.