ci: 更新部署秘钥

This commit is contained in:
zhaoyingbo 2024-08-18 15:50:18 +08:00
parent 2ad41355a9
commit 6d17e46d3b
5 changed files with 3294 additions and 1 deletions

35
.gitea/release.yml Normal file
View File

@ -0,0 +1,35 @@
name: Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Bump version and push tag
id: bump_version
run: |
git config --global user.name 'zhaoyingbo'
git config --global user.email 'zhaoyingbo@live.cn'
npm version patch -m "chore(release): %s"
git push --follow-tags
- name: Publish package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

1
.npmrc Normal file
View File

@ -0,0 +1 @@
@egg:registry=https://git.yingbo.im:333/api/packages/zhaoyingbo/npm/

BIN
bun.lockb

Binary file not shown.

3257
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
{
"name": "egg-tools",
"name": "@egg/tools",
"version": "1.0.0",
"description": "Tools for Egg projects, including netTool and logger",
"type": "module",